Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FoxPro crashes
Message
 
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:
00576403
Views:
19
Have you tried creating and then releasing the outlook object since you are creating the same object?

>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
Previous
Reply
Map
View

Click here to load this message in the networking platform