Loading Icons from file

  • Thread starter Thread starter dule
  • Start date Start date
D

dule

Hello,

How to load icons from file with my VB.NET program.
Image.Fromfile is not supported is there another way to do it?

Thx,
Dule
 
You can retrieve the image directly if you add it to the application resource
by using the {YourNamespace}.Properties.Resources class.

Rick D.
Contractor
 
dbgrick said:
You can retrieve the image directly if you add it to the application
resource
by using the {YourNamespace}.Properties.Resources class.

Rick D.
Contractor

Yes I am aware of that option, but the application is running on both WM2005
(240x320) & WM2006 (480x640) so I need the options to load bigger icons for
the WM2005 app. And I don't want to have in the resources both small and big
icons.

Any suggestions?
Dule
 
Back
Top