Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Quitting VFP
Message
From
26/10/2004 09:31:04
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgia, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Quitting VFP
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows 2000 SP3
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00954523
Message ID:
00954523
Views:
47
I am having trouble getting VFP 7 to quit. On startup, if the program is more than X days old I want to automatically downloand and run an update program. I have gotten everything to work but cannot get the current VFP program to quit. Here is the sequence of events:
Check dates

if date>X
Run FTPengine program to download and run update-- run /N program name
quit VFP by calling the shutdown procedure
endif

The shutdown procedure runs, but even thought clear events runs VFP will not quit. In the debugger the active line is the line after clear events.

I know that the correct way to do this would be to run a startup program, but at this point that is not possible.

Help!
A problem is a problem only as long as it has a possible solution. Lacking that, it becomes a FACT!
Next
Reply
Map
View

Click here to load this message in the networking platform