Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FoxPro crashes
Message
De
31/10/2001 23:46:35
Charles Richard
Nvo Management Systems
Boisbriand, Québec, Canada
 
 
À
31/10/2001 18:05:09
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00575931
Message ID:
00576004
Vues:
26
Outlook takes a while to initialize. I suspect that you need to find a way to determine that it's initialization is complete before creating the new instance.

>Hi everyone
>
>I noticed that VFP (5,6) crashes when I run the following code. It happens when
>i = 2. I tried to release the object but no joy. This is part of an email button that opens Outlook, and if the user wants to send a second email ... they can't. Any suggestions are more than welcome. Thanks a lot.
>
>FOR i = 1 TO 2
> oOutlookObj = CREATEOBJECT("Outlook.Application")
>ENDFOR
Charles Richard
NVO Management Systems
crichard@nvo.ca
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform