Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 754
  • Last Modified:

how to change application icon for .net at runtime (using code)

I know how to go to the project properties on vb.net 2008  and change the application icon at designtime.  but how do I do it at runtime.  I have 2 icons in my project resouces and I want to be able to decide at runtime which one to use.
1 Solution
You can change your main form icon.
For that you can use the "icon" property of the form
s_chamichianAuthor Commented:
Thank you expert for speedy solution

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now