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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top