Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Ryan Lashway
  Where is Ryan Lashway?
 Warrensburg
 New York - United States
 Ryan Lashway
 Tags
Subject: Close App, then Open another App
Thread ID: 112448 Message ID: 112448 # Views: 2 # Ratings: 0
Version: Visual FoxPro 9 Category: General VFP Topics
Date: Wednesday, November 08, 2006 5:40:59 PM         
   


How can I close a foxpro exe before opening another, with my code below it closes both for some reason, if I run it from within foxpro however it works great.


SELECT sys_settings
GOTO TOP
AppPath = ALLTRIM((sys_settings.ExeFile))
cFindFile = FILE(AppPath, 1)
IF cFindFile = .T.
CLOSE DATABASES ALL
RUN /N &AppPath
ENDIF
QUIT

Ryan J. Lashway
http://www.lashtech.com

ENTIRE THREAD

Close App, then Open another App Posted by Ryan Lashway @ 11/8/2006 5:40:59 PM
RE: Close App, then Open another App Posted by Yuri Rubinov @ 11/8/2006 5:54:18 PM
RE: Close App, then Open another App Posted by Ryan Lashway @ 11/8/2006 5:59:30 PM
RE: Close App, then Open another App Posted by Yuri Rubinov @ 11/8/2006 6:20:15 PM
RE: Close App, then Open another App Posted by Ryan Lashway @ 11/8/2006 6:24:55 PM