[DotNetDevelopment] How can I set the description of my process

1,688 views
Skip to first unread message

Marcus

unread,
May 16, 2010, 5:44:24 AM5/16/10
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
When using the Windows Task Manager to look at all processes running
on the computer, one can see columns for processname, PID, user,
description, ...

How can I set this description of my application?

I am using c# and VS2008

ThanderMaX

unread,
May 17, 2010, 1:12:27 AM5/17/10
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
OHOHO ... you want to change PID/ user name for your process ?????????

One easy way to do that will be using winVista DDK not .NET :)

Raghupathi Kamuni

unread,
May 17, 2010, 1:53:00 AM5/17/10
to dotnetde...@googlegroups.com

Marcus

unread,
May 17, 2010, 2:09:25 AM5/17/10
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
Thanks for answering, but no...I do not want to change PID or user
name for my process.
I just want to set the description of the process. In the Task manager
on my Vista machine I can see a column with a description for every
process. Some processes has got a whole sentence describing it.
> > I am using c# and VS2008- Dölj citerad text -
>
> - Visa citerad text -

Shameem A. Sathar Thalapurath

unread,
May 17, 2010, 1:50:18 AM5/17/10
to dotnetde...@googlegroups.com

In .Net Windows Application, Goto Properties/Application/Assembly Information, Here you can put your description.

Please do not jump with insulting remarks before reading question properly.

Best Regards,
Shameem.

> Date: Sun, 16 May 2010 22:12:27 -0700
> Subject: [DotNetDevelopment] Re: How can I set the description of my process
> From: anirud...@gmail.com
> To: dotnetde...@googlegroups.com

Hotmail is redefining busy with tools for the New Busy. Get more from your inbox. See how.

Marcus

unread,
May 18, 2010, 2:57:32 AM5/18/10
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
Thanks
Now I am able to change the description of my process. This is
better...

The best however would be if I could set this programmatically or by
some Windows tool with CLI so that I can set this from code. Is this
possible?

Regards
Marcus


On 17 Maj, 07:50, "Shameem A. Sathar Thalapurath"
<shmsat...@hotmail.com> wrote:
> In .Net Windows Application, Goto Properties/Application/Assembly Information, Here you can put your description.
>
> Please do not jump with insulting remarks before reading question properly.
>
> Best Regards,
> Shameem.
>
>
>
>
>
> > Date: Sun, 16 May 2010 22:12:27 -0700
> > Subject: [DotNetDevelopment] Re: How can I set the description of my process
> > From: aniruddha....@gmail.com
> > To: dotnetde...@googlegroups.com
>
> > OHOHO ... you want to change PID/ user name for your process ?????????
>
> > One easy way to do that will be using winVista DDK not .NET  :)
>
> > On May 16, 2:44 pm, Marcus <marcussilf...@gmail.com> wrote:
> > > When using the Windows Task Manager to look at all processes running
> > > on the computer, one can see columns for processname, PID, user,
> > > description, ...
>
> > > How can I set this description of my application?
>
> > > I am using c# and VS2008
>
> _________________________________________________________________
> Hotmail is redefining busy with tools for the New Busy. Get more from your inbox.http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTA...- Dölj citerad text -

Marcus

unread,
May 18, 2010, 3:29:25 AM5/18/10
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
I googled some and found that in the AssemblyInfo.cs file you can set
assembly information:

[assembly: AssemblyTitle( "MyAssembly" )]
[assembly: AssemblyDescription( "Description of MyAssembly")]

However I need to be able to set this dynamically in runtime (because
I dont want the same description everytime I start up the
application).

I actually have another application A which only purpose is to start
application B and then exit. Perhaps application A could set the
description for B somehow before launching it?

Is this possible you think?

Regards
Marcus
> > Hotmail is redefining busy with tools for the New Busy. Get more from your inbox.http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTA...Dölj citerad text -
>
> > - Visa citerad text -- Dölj citerad text -

Marcus

unread,
May 19, 2010, 2:59:04 PM5/19/10
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
thanks for answering, but it is the desciption NOT the name of the
assembly that I need to change.

I also need it to be changed programmatically or at least without the
involvement of a GUI as Visual Studio or Windows Explorer. A tool with
CLI would suffice, because then I could launch that one in silent mode
from c# code, instructing it to change the description.

Does anyone know of such?


On 17 Maj, 06:53, Raghupathi Kamuni <raghukam...@gmail.com> wrote:
> http://stackoverflow.com/questions/1055987/c-how-to-set-an-projects-e...
>
>
>
> On Sun, May 16, 2010 at 3:14 PM, Marcus <marcussilf...@gmail.com> wrote:
> > When using the Windows Task Manager to look at all processes running
> > on the computer, one can see columns for processname, PID, user,
> > description, ...
>
> > How can I set this description of my application?
>
> > I am using c# and VS2008- Dölj citerad text -
Reply all
Reply to author
Forward
0 new messages