Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VBScript
Message
From
17/05/2006 22:21:40
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
VBScript
Miscellaneous
Thread ID:
01123082
Message ID:
01123082
Views:
84
Dim oFox
Set oFox = CreateObject("VisualFoxPro.Application")
'oFox.DoCmd "DO C:\Scripts\VFPFilter.prg"
'oFox.DoCmd "QUIT"
'oFox.Quit()
Trying to run a VFP program from a VBScript file for an email filter. It always gives me a Cannot Quit Visual FoxPro error followed by an OLE error. What am I missing?

OLE Errors are usually either c0000005 or 99.

I suspect that it may be because VFP is still busy... but how would I test for that? And... I'm not even sure that that is it. Googled a bunch but didn't come up with anything useful. Any help greatly appreciated.
Next
Reply
Map
View

Click here to load this message in the networking platform