Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: peter gee
  Where is peter gee?
 Hobart
 Australia
 peter gee
 To: John Peart
  Where is John Peart?
 Newcastle
 United Kingdom
 John Peart
 Tags
Subject: RE: pesky read only problem
Thread ID: 78809 Message ID: 78909 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 Category: Distribution and InstallShield
Date: Monday, October 10, 2005 10:59:44 PM         
   


> > but the program still terminates for no good reason as soon as the
> > last control's activate event is processed.
> > i used =messagebox("got here") commands to track where execution stops, and all of my code seems to work fine.
> > i have an error event handler in my code that works, but it does not come up with an error before execution is terminated in the .exe
> > any ideas why a .exe program would quit without an error ?
> >
> >
> > thanks for your help
> > Pete.
>
>
> You could be running a modeless form without calling a READ EVENTS in your calling program. Try changing the WindowType property of your form to 1 or putting READ EVENTS immediately after the call to your form.




john, andy
you guys are gods!
i never would have worked that out without your help.
i can get some sleep tonight!
your help is very much appreciated!

Pete.

ENTIRE THREAD

pesky read only problem Posted by peter gee @ 10/9/2005 4:08:24 AM
RE: pesky read only problem Posted by Andy Kramek @ 10/9/2005 2:20:39 PM
RE: pesky read only problem Posted by Paul Walters @ 10/9/2005 4:29:04 PM
RE: pesky read only problem Posted by Andy Beebe @ 10/9/2005 6:38:59 PM
RE: pesky read only problem Posted by Andy Kramek @ 10/9/2005 9:13:54 PM
RE: pesky read only problem Posted by Paul Walters @ 10/9/2005 11:44:13 PM
RE: pesky read only problem Posted by peter gee @ 10/10/2005 2:17:29 PM
RE: pesky read only problem Posted by John Peart @ 10/10/2005 3:05:06 PM
RE: pesky read only problem Posted by peter gee @ 10/10/2005 10:59:44 PM