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.
>>