Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Jim Vahl
  Where is Jim Vahl?
 California - United States
 Jim Vahl
 To: Simon Arnold
  Where is Simon Arnold?
 United Kingdom
 Simon Arnold
Subject: Simple and it works!
Thread ID: 16219 Message ID: 16223 # Views: 3 # Ratings: 0
Version: Unknown Category: General VFP Topics
Date: Sunday, October 13, 2002 2:14:37 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.


Exactly what I needed. Thanks a lot!

Jim Vahl


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