Change program name in Task Manager

ggunter

Well-known member
Joined
Apr 23, 2008
Messages
137
Programming Experience
Beginner
Is it possible to code a program so that the name displayed in the Task Manager can be changed mid-process?

I have searched for it but everything I found was either someone wanting to hide the name or was for VB6.

I am developing a program that will be run in a dozen instances at the same time. There will be two (2) user input forms followed by a processing form containing nothing but a third-party component that we are forced to use to capture our data. What I am trying to do is change the name after the user input to indicate which instance this particular program is. That way, if the third-party component hangs, we will know which instance to kill.
 
Applications tab in Task Manager displays the current title (ie .Text) of all toplevel forms (ie where ShowInTaskbar =True), so you can change the forms Text property.
 
Thanks John. That works perfectly as I was already going to change the form text to indicate the instance to the user.
 
Back
Top