Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP Exe blocking Win 2000 shutdown
Message
 
 
To
10/05/2001 17:01:01
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00506005
Message ID:
00506079
Views:
19
Albert,

Is it possible that your app is throwing up an error condition at shutdown and you have a VFP internal dialog trying to pop up?

>VFP Exe is blocking Win 2000 shutdown. The Exe stops and drops from the task list, but the shutdown does not occur. The next shutdown attempt succeeds.
>
>The Exe has no window.
>
>Any Ideas?
>
>In Config.fpw:
>
>
>screen = off
>talk = off
>safety = off
>exclusive = off
>cpdialog = off
>resource = off
>
>
>
>In Program:
>
>
>Application.Visible = .F.
>
>on shutdown do trapShutdown
>
>...
>
>procedure trapShutdown
>	* throw away any uncommited changes
>	if !empty(alias())
>		=tablerevert(.t.)
>	endif
>	on shutdown
>	quit
>endproc
>
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform