Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can an executable know its name?
Message
From
15/03/2005 12:26:42
Gary Foster
Pointsource Consulting LLC
Chanhassen, Minnesota, United States
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
00995951
Message ID:
00995992
Views:
25
Thanks a bunch to you, Cetin and Borislav. As soon as I saw your replies I thought "Oh that's right, how did I forget that?!".

Gary


>
lcExeName = _VFP.ServerName
>* Or
>lcExeName = SYS(16,0)
>
>
>>Where would I look at runtime to know the name of my VFP exe? What I want to do is provide the user with "about" info showing the name and version of the running exe. I assume I'll use agetfileversion() but I need to determine what the exe is called and located to use this. How does everyone else do this?
>>
>>I'm pretty sure I've done this in the past but for some reason I'm coming up blank. Thanks.
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform