Re: How to get name of application that launched current process
- From: "James Curran" <jamescurran@xxxxxxxx>
- Date: Mon, 25 Apr 2005 17:05:18 -0400
Have you considered having A passed it's full pathname to B as a command
line parameter, when it launches B?
--
--
Truth,
James Curran
[erstwhile VC++ MVP]
Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com
"chief tent" <cschubert@xxxxxxxxx> wrote in message
news:eb32ffb6.0504251138.463e0edc@xxxxxxxxxxxxxxxxxxxxx
> Basic question: Two C# programs A and B. Program A is launched by the
> user, then program A launches program B. From program B, I want to get
> the filename and path of program A (the process that launched B). I've
> spent a while searching around for this and can't seem to find
> anything. Is is even possible to do this?
>
> A few more details - From program A I'm launching B using
> System.Diagnostics.Process.Start()
>
> Both developed in VS2001, .net framework 1.0
>
> Thanks in advance for any help.
.
- References:
- How to get name of application that launched current process
- From: chief tent
- How to get name of application that launched current process
- Prev by Date: Re: tricky TimeSpan editing
- Next by Date: Re: Looking for an Explore here add-in.
- Previous by thread: How to get name of application that launched current process
- Next by thread: SHA1
- Index(es):
Relevant Pages
|