|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Changing my ProcessName?I have several instances (Around 20) of a .Net application running on a
server. In task manager they all show as something like "MyApplication.exe". I would like to make the filemanager name show something like "MyApplication Instance1", Is this possible? Right now if one process starts acting funny, its impossible to tell what instance is a problem (Because they all look the same in Task Manager). I tried using the "ProcessName" method, and its "ReadOnly": Process.GetProcessesByName("MyApplication")(0).ProcessName = "MyApplication Instance1" Any ideas? >I would like to make the filemanager name show something like "MyApplication No>Instance1", Is this possible? >Right now if one process starts acting funny, They should all have a unique process ID (PID), just make sure you>its impossible to tell what instance is a problem (Because they all look the >same in Task Manager). show that column in Task Manager and it should be a lot easier to tell them apart. You can compare it to the Process.Id property. Mattias -- Mattias Sjögren [C# MVP] mattias @ mvps.org http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com Please reply only to the newsgroup.
How do menu list with one check
ShellExecute in VB2005 How to minimize to system tray ? VS 2003 Keep software running The Irish fada (áéíóú/ÁÉÍÓÚ) and encryption/decryption problem! How to create a "DataSource" & "Items" properties on Custom Combob Binding sources question in Vs2005 Working with structures and the New keyword Custom Property Detect Remote Shutdown |
|||||||||||||||||||||||