Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to close a VFP6 applicaton?
Message
From
29/06/1999 16:40:42
 
 
To
29/06/1999 16:13:17
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00235479
Message ID:
00235504
Views:
17
>Can anybody advise the best way of closing a VFP6 applicaton?
>I've been experimenting but get 'Fatal Error: Exception Code = C0000005' message before it exits.
>In my program (originally a 2.6a app I've converted to VFP6), the user selects Quit from the menu, this calls the Quit procedure in a .PRG which invokes a confirmation dialog box, then puts a datestamp against the user in the user table, then does:
>
>DO shut_dwn
>
>This calls shut_dwn.prg which contains these commands
>
>CLOSE DATA
>CLOSE ALL
>CLEAR ALL
>RELEASE ALL
>RELEASE WINDOW
>ON KEY
>ON ERROR
>ON SHUTDOWN
>SET SYSMENU TO DEFAULT
>SET HELP ON
>SET EXCL ON
>QUIT
>
>Your suggestions are most appreciated.

There's a FAQ entry that discusses a possible problem with VFP6, applications that start wqith SCREEN=OFF, and the lack of proper installation of DCOM; simply put, VFP6 would shut down with a C5 error if DCOM wasn't installed properly. If this is happening with Win95 systems, or NT systems where NT SP3 or later has not been installed, it'd be worth while to take a look at the FAQ entry outlinign this problem and how to fix it.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform