Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Top level form
Message
 
To
08/03/2000 07:25:34
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00343184
Message ID:
00343217
Views:
34
>I'm using Main.prg (Set as Main) to start my app which consists of a form with little visual
>interface. When finished, it will Init() {assign parameter list to form properties and delete
>a status file}. Start a timer that runs once to interface with a specialized communication
>ActiveX, process some files as needed, call another communications app, write a status
>file after the 2nd app quits and terminate. I've tested with a quit button that runs
>thisform.queryunload() and an if ! thisform.release() - MessageBox (yada, yada)- endif
>Main.prg does Sys(2333,0); _vfp.autoyeild - .F.; a do form "xxxxxx", on shutdown do
>mvShutdown (really just a quit) and a read events.
>
>My Problem:
>
>The VFP form won't release. When I try to make changes and recompile the app, I get a
>sharing violation. Same if I try to delete it. I added Keyboard "{CTRL+F4}" and
>Keyboard "{ALT+F4}". but still no joy. I know that the sharing viloation is happening on my NT 4.0 SP5 system. I haven't run it on a Win98 system, yet.
>
>Anyone know what I'm doing wrong? The ActiveX control has a visual presence, was
>added to VFP 6.0 options and is Initialized as an object on the form .

Sounds complex, could be a number of things from Activex incompatibility to unresolved references to a problem mixing _vfp & TLs. Does it work without the activex? Did you set the reference .NULL.? You know that ON SHUTDOWN does not work properly with TLs open?
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform