Application Name

Discuss anything else that does not suite other forums.

Moderator: Rathinagiri

Post Reply
melliott42
Posts: 119
Joined: Wed Feb 18, 2009 2:14 pm

Application Name

Post by melliott42 »

Hello,

How can I programmatically get the application name?

I need this for a generic function.

For instance, if my application is called MyApp.exe how can I extract "MyApp" part of the name. This would of course be different for each application.


Thanks,

Michael
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Application Name

Post by esgici »

GetProgramFileName()
Viva INTERNATIONAL HMG :D
melliott42
Posts: 119
Joined: Wed Feb 18, 2009 2:14 pm

Re: Application Name

Post by melliott42 »

Thanks esgici. Very nice!

I think I asked this one a year ago. Sorry I did not search thoroughly enough.
Post Reply