Sep 14, 2001 #1 newapocalipsis Programmer Joined Aug 10, 2001 Messages 48 Location MX when i make my ejecutable it runs ok, but when i`m tryng to close it says a error that vfp can not be closed how do i fix it?? an why is that??
when i make my ejecutable it runs ok, but when i`m tryng to close it says a error that vfp can not be closed how do i fix it?? an why is that??
Sep 14, 2001 #2 jimstarr Programmer Joined Feb 6, 2001 Messages 975 Location US Make sure all your forms are released before trying to shut down the executable. Jim Upvote 0 Downvote
Sep 14, 2001 #3 rianeiromiron Programmer Joined Jul 1, 2001 Messages 151 Location GT Assuming it's your last process, you could use CANCEL, for example, in a RETURN TO WINDOWS button's click event you could use CLOSE DATABASES ALL CANCEL Hope that helps Rianeiro Upvote 0 Downvote
Assuming it's your last process, you could use CANCEL, for example, in a RETURN TO WINDOWS button's click event you could use CLOSE DATABASES ALL CANCEL Hope that helps Rianeiro
Sep 14, 2001 #4 spayne Programmer Joined Feb 13, 2001 Messages 157 Location US Try the CLEAR EVENTS command in the Main Form's Destroy event. Steve Upvote 0 Downvote
Sep 15, 2001 #5 weedz Programmer Joined Dec 5, 2000 Messages 718 Location NL In your ON SHUTDOWN procedure be sure you clear all objects and varaiable references as well as the data envrionments. In essence, leave the environment just as you entered it. HTH, Weedz (Wietze Veld) My private project:http://www.crowncap.demon.nl\info\crwnbaseAnd especially for VFP rookies: http://fox.wikis.com/wc.dll?Wiki~VFPRookieMistakes~VFP Upvote 0 Downvote
In your ON SHUTDOWN procedure be sure you clear all objects and varaiable references as well as the data envrionments. In essence, leave the environment just as you entered it. HTH, Weedz (Wietze Veld) My private project:http://www.crowncap.demon.nl\info\crwnbaseAnd especially for VFP rookies: http://fox.wikis.com/wc.dll?Wiki~VFPRookieMistakes~VFP
Sep 16, 2001 #6 CatalinC Programmer Joined Aug 20, 2001 Messages 9 Location RO Probably it is a wrong combination between READ EVENTS and CLEAR EVENTS Anyway ,in all the exit procedures from your program include: CLEAR EVENTS Upvote 0 Downvote
Probably it is a wrong combination between READ EVENTS and CLEAR EVENTS Anyway ,in all the exit procedures from your program include: CLEAR EVENTS