|
-
Nov 26th, 2008, 12:25 PM
#1
Thread Starter
Addicted Member
loading next form.
Hi,
I've got a app that once loaded shows the next form and unload me so only the second form shows while first one is closed. Say the app is called blah.exe, is there any chance to change the process name to the name of the second form for example.
In taskmanager it shows the program name(blah.exe) not the forms name, is there any way to change this? or change the process name to a different one while running.
cheers, hope you understand.
-
Nov 26th, 2008, 12:28 PM
#2
Re: loading next form.
You can rename the exe file like you could any other file right through Windows Explorer.
Or, you can open the project and recompile it under a new exe name.
-
Nov 26th, 2008, 12:30 PM
#3
Thread Starter
Addicted Member
Re: loading next form.
 Originally Posted by Hack
You can rename the exe file like you could any other file right through Windows Explorer.
Or, you can open the project and recompile it under a new exe name.
Not at run time.
-
Nov 26th, 2008, 12:32 PM
#4
Re: loading next form.
Once the process has started that is the process. You can't rename it. You might be able to poke around in the stack/memory and find the name and attempt to change it but I would expect the application to crash after that.
Sometimes the Programmer
Sometimes the DBA
Mazz1
-
Nov 26th, 2008, 12:39 PM
#5
Re: loading next form.
 Originally Posted by Bountyhuntr
Not at run time.
That is correct.
When it is idle, or you have the project open in design time is the only shot you have of accomplishing what you need to do.
For what possible reason would you want, or need, to change it at run time?
-
Nov 26th, 2008, 02:19 PM
#6
Thread Starter
Addicted Member
Re: loading next form.
n/m i'll use a binder.
cheers for fast replys, delete thread or w/e.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|