Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP and App will not shutdown
Message
 
 
To
11/02/2005 12:49:51
John Marrone
Bloodstock Research Inc.
Lexington, Kentucky, United States
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00986039
Message ID:
00986666
Views:
32
Hi John,

frmMain.Release instead of frmMain.Unload


>Hi
>Below is my code. The problem is my application will not shutdown. And then when I try to quit vfp it will not shutdown either.
>
>This is in my main prg.
>
>CODE
>PUBLIC frmMain as Object
>
>SET PATH TO HOME(1);MENUS;classes;libs;DATA;SOURCE;OTHER;graphics;FORMS;OTHER
>ON SHUTDOWN DO closedown
>SET CLASSLIB TO clsForms.vcx
>frmMain = CreateObject("MainForm")
>frmMain.Show
>READ EVENTS
>
>This is my shutdown procedure
>
>CODE
>PROCEDURE CloseDown()
> SET SYSMENU TO DEFAULT
> frmMain.Unload
> CLEAR EVENTS
> CANCEL
>RETURN
Regards,

Mike

"We try to solve the problem by rushing through the design process so that enough time is left at the end to uncover the errors that were made because we rushed through the design process."
- Glenford Myers

If you're going through hell, keep going. - Walt Disney
Previous
Reply
Map
View

Click here to load this message in the networking platform