How to change application programmaticaly

G

Guest

In my c-sharp project, how can i change the application icon property
programmatically depending on the configuration selected. i.e. i want to give
different icon file path to the application target file based on the
configuration selected. Plz give an example. Or how can i change the
application file (exe file) icon using command line.
 
M

Mythran

Avnish said:
In my c-sharp project, how can i change the application icon property
programmatically depending on the configuration selected. i.e. i want to
give
different icon file path to the application target file based on the
configuration selected. Plz give an example. Or how can i change the
application file (exe file) icon using command line.

It would be interesting to see if this is possibly without changing the exe
directly. One way to possibly do this is using 2 or more exe's, and
swapping the primary exe with the correct exe depending on the configuration
selected.

HTH,
Mythran
 

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

Top