Looks like it has something to do with building a resource file, but I can't find any definitive document on how to do it, besides the ugly help files on system.resource.
Can anyone help me with adding one icon to a resource file, then showing me how to pull the icon out as an icon object?
Thanks.
Comments
:
:
: Can anyone help me with adding one icon to a resource file, then showing me how to pull the icon out as an icon object?
:
: Thanks.
:
Do you just want to change the icon for your program? Or do you want to use the icon for some other reason?
If you just want to change the icon, then go to the Solution Explorer Window and right click on the project name (has a little VB icon next to it), then select properties.
Then on left side you will see a menu.
Common Properties
General
Build
Imports
etc etc
Click build and then on the right you will see the application icon. Just hit the browse button (...) and then choose the icon you want to use.
Hope that helps
-Fallen
Does this make sense? I don't know if Im explaining it correctly.
: : Looks like it has something to do with building a resource file, but I can't find any definitive document on how to do it, besides the ugly help files on system.resource.
: :
: :
: : Can anyone help me with adding one icon to a resource file, then showing me how to pull the icon out as an icon object?
: :
: : Thanks.
: :
:
: Do you just want to change the icon for your program? Or do you want to use the icon for some other reason?
:
: If you just want to change the icon, then go to the Solution Explorer Window and right click on the project name (has a little VB icon next to it), then select properties.
:
: Then on left side you will see a menu.
:
: Common Properties
: General
: Build
: Imports
: etc etc
:
: Click build and then on the right you will see the application icon. Just hit the browse button (...) and then choose the icon you want to use.
:
: Hope that helps
: -Fallen
:
:
: No, Im trying to programmatically add some menuitems to a context menu, with a subclassed menuitem class that carries icons. I can include them from a standard windows directory as .ico files, but id rather dump them into a .resource file or whatever and grab them that way.
:
: Does this make sense? I don't know if Im explaining it correctly.
:
: : : Looks like it has something to do with building a resource file, but I can't find any definitive document on how to do it, besides the ugly help files on system.resource.
: : :
: : :
: : : Can anyone help me with adding one icon to a resource file, then showing me how to pull the icon out as an icon object?
: : :
: : : Thanks.
: : :
: :
: : Do you just want to change the icon for your program? Or do you want to use the icon for some other reason?
: :
: : If you just want to change the icon, then go to the Solution Explorer Window and right click on the project name (has a little VB icon next to it), then select properties.
: :
: : Then on left side you will see a menu.
: :
: : Common Properties
: : General
: : Build
: : Imports
: : etc etc
: :
: : Click build and then on the right you will see the application icon. Just hit the browse button (...) and then choose the icon you want to use.
: :
: : Hope that helps
: : -Fallen
: :
: :
:
: