473,399 Members | 3,888 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

How to change application programmaticaly

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.
Dec 4 '06 #1
1 1461


"Avnish" <Av****@discussions.microsoft.comwrote in message
news:89**********************************@microsof t.com...
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
Dec 4 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Boaz Ben-Porat | last post by:
Does anyone knows how to programmaticaly change a user`s password on Windows NT/2K/XP using C# ? Is there a sample code ? TIA Boaz Ben-Porat Milestone A/S Denmark
2
by: Flo | last post by:
Hello I want to be able to show/hide an application that is running. When i am getting the handles corresponding to an MS Office application (Excel for example), it appears that i get a handle...
5
by: who be dat? | last post by:
Hello all. I'm writing an application that is writing trace information that can be viewed in trace.axd. I would like to rename this and use a different name specific to my application. I know...
2
by: david | last post by:
When you right click on a file in windows, there is a property of type of file, which seems to associate this file with an application for it. For example, when you double click on a .doc file, the...
0
by: Gilles Lambert | last post by:
Hi, I've done a report with the Designer of Crystal Report and it's ok. But the source file (MDB file) will have to move and i d'ont see how to define this info (the connection string would be...
2
by: Erik Juhlin | last post by:
I want to edit a web.confgi file Programmaticaly. I can´t use the System.Configuration.ConfigurationSettings.AppSettings.Add becuase the web.config file i want to edit does belongs to another web...
2
by: Pieter | last post by:
Hi, I'm using the Settings.settings of VB.NET to define a Connectionstring (Scope = application). When I deploy the Solution, and change this Setting in the app.config-file, it seems that...
5
by: Elena | last post by:
I need the VB.NET code to change the header/footer of an Excel spread sheet, ASAP. I am doing it through a VB application. I can change the ranges/cell values using code, but I do not know how to...
2
by: PSiegmann | last post by:
Hello group.. Is there a way to change web.config entries at runtime? I haven't found a class for that. I have around 20 entries in the web.config, and I want a add a configuration menu into my...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.