PC Review


Reply
Thread Tools Rate Thread

Can I find my own .exe-file name?

 
 
Ronald Kloverod
Guest
Posts: n/a
 
      11th Dec 2003
Hi!
Is there any easy way to find the name of the programs .exe-file? I'm using
C# and have tried using System.Reflection.AssemblyName. But this one seems
to give me the name as it was at compile time. In my case, the "original"
..exe-file may be renamed, and what I want to know is "my" new name.

In advance: Thanks!

Ronald


 
Reply With Quote
 
 
 
 
Miha Markic
Guest
Posts: n/a
 
      11th Dec 2003
Hi Ronald,

Check out Application.ExecutablePath property.

--
Miha Markic - RightHand .NET consulting & software development
miha at rthand com

"Ronald Kloverod" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Hi!
> Is there any easy way to find the name of the programs .exe-file? I'm

using
> C# and have tried using System.Reflection.AssemblyName. But this one seems
> to give me the name as it was at compile time. In my case, the "original"
> .exe-file may be renamed, and what I want to know is "my" new name.
>
> In advance: Thanks!
>
> Ronald
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I find a file that I save but can't seem to find Marge Microsoft Excel Misc 11 25th Jan 2009 06:27 PM
can't find local settings to find temp file =?Utf-8?B?ZWxnbmFyYw==?= Microsoft Word Document Management 1 25th Aug 2006 04:54 PM
how to find find last file name and increment - XL2000 =?Utf-8?B?ZHVuZXNjcmF0Y2hlcg==?= Microsoft Excel Programming 0 6th Apr 2006 07:35 PM
How do I find a file/spreadsheet that Excel says is Already open but I can't find it? nwtrader8 Microsoft Excel Misc 5 21st Jun 2005 02:16 PM
I need to find a file that I saved in MS Office but can't find an. =?Utf-8?B?amFtYXRvQGpnYWdyb3VwLmNvbQ==?= Microsoft Word Document Management 1 13th Oct 2004 08:13 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:12 PM.