Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VBScript
Message
De
17/05/2006 22:21:40
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
VBScript
Divers
Thread ID:
01123082
Message ID:
01123082
Vues:
85
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform