Change program name

Hi Expert,
I am using VS and my program named myProgram. While my program is running, I'dlike
to change my program name to different name so that I can another instance of my program
for debugging. How can I do it under VS 2008?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


i'm not sure i understand what you want to do here, so i've got a few suggestions which may help.

firstly, to change the name of your program you need to change the name of the assembly it produces when built. to do that right click the project, go to properties. on the top tab (Application), you'll see the output filename in the assembly name text box. change that, rebuild and the exe produced will be named accordingly.
secondly, you can start a new instance for debugging by right clicking the project, go to debug then go to start new instance.
Thirdly, you can attach your debugger to an already running application. to do that drop down the debug menu, click attach to Process. scan the list of processes and select the one you want then click attach. If it helps, order the processes by Type, that will help you to identify the different processes.



Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jtran007Author Commented:
Thanks a lot,
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.