:confused:
Printable View
:confused:
Public rm As System.Resources.ResourceManager = New System.Resources.ResourceManager("Resourcename", System.Reflection.Assembly.GetExecutingAssembly())
rm.GetObject("imagename") will return the image
Hello,
It seems to me that the standard resourced for VB.Net only know of BMP-files. I need to store GIF's and JPG's in a VB.Net application. Can you do this with resources? Do you know of any other ways on how to do this?
Thanks.
You can store any image format.
REsource will take any. Gif, JPg, Ico, etc.
do this
Dim a As New Image
a = CType(rm.GetObject("imagename"), Image)
a becomes an image object which can be any image format.
Thanks!