Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can an executable know its name?
Message
 
 
To
15/03/2005 10:45:22
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:
00995953
Views:
21
This message has been marked as the solution to the initial question of the thread.
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.
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform