J
jp2msft
How would I load a file from a resource?
We have a 'PDF-like' file that is formatted for printing the our label forms
(it isn't quite like a PDF, but pretty close. It lets us enter text that
comes out as a barcode).
Anyway, the file often gets lost or deleted by someone fooling around with
the PC when they should not be.
To resolve this problem, I inserted the file under Project Properties >
Resources > Files section.
I want something like:
File.Open(global:roject2.Properties.Resources.File1)
Obviously, this will not compile.
Can I use the Resource object to store files that I can access in my
application? If so, how?
We have a 'PDF-like' file that is formatted for printing the our label forms
(it isn't quite like a PDF, but pretty close. It lets us enter text that
comes out as a barcode).
Anyway, the file often gets lost or deleted by someone fooling around with
the PC when they should not be.
To resolve this problem, I inserted the file under Project Properties >
Resources > Files section.
I want something like:
File.Open(global:roject2.Properties.Resources.File1)
Obviously, this will not compile.
Can I use the Resource object to store files that I can access in my
application? If so, how?