How to change application programmaticaly

  • Thread starter Thread starter Guest
  • Start date Start date
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.
 
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
 
Back
Top