Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FoxPro crashes
Message
From
31/10/2001 23:46:35
Charles Richard
Nvo Management Systems
Boisbriand, Quebec, Canada
 
 
To
31/10/2001 18:05:09
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00575931
Message ID:
00576004
Views:
29
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
Previous
Reply
Map
View

Click here to load this message in the networking platform