How can you retrieve the exe name of the program?
Jakob Christensen - 30 Jun 2005 13:08 GMT
Use Assembly.GetExecutingAssembly
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlr
fsystemreflectionassemblyclassgetexecutingassemblytopic.asp
HTH, Jakob.

Signature
http://www.dotninjas.dk
http://www.powerbytes.dk
> How can you retrieve the exe name of the program?
Mona - 30 Jun 2005 13:08 GMT
Hi Stingray,
You can use Application.ExecutablePath. It'll return the path along with the name of the exe.
Application object gives almost all the information about the EXE.
Thanks
Mona[Grapecity]
> How can you retrieve the exe name of the program?