Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Simon Arnold
  Where is Simon Arnold?
 Halifax
 United Kingdom
 Simon Arnold
 To: Jim Vahl
  Where is Jim Vahl?
 Soquel
 California - United States
 Jim Vahl
 Tags
Subject: RE: What's my (EXE) name?
Thread ID: 16219 Message ID: 16220 # Views: 3 # Ratings: 0
Version: Unknown Category: General VFP Topics
Date: Sunday, October 13, 2002 12:27:05 AM         
   


> Can anyone tell me how to obtain the name of the currently executing VFP compiled application EXE or APP from within the EXE or APP itself? I am looking for something like SYS(16) but for the EXE, rather than the executing program.

Try this line in your startup program, I have used this many times.

lcExe = JUSTSTEM(SYS(16,0)) + '.EXE'


Simon Arnold.


ENTIRE THREAD

What's my (EXE) name? Posted by Jim Vahl @ 10/12/2002 7:36:42 PM
RE: What's my (EXE) name? Posted by Simon Arnold @ 10/13/2002 12:27:05 AM
Simple and it works! Posted by Jim Vahl @ 10/13/2002 2:14:37 AM