General information
Category:
COM/DCOM and OLE Automation
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only