General information
Category:
COM/DCOM and OLE Automation
Hello there...
I just thought to point out that you are BOTH right... lol... You should not reassign an object reference anyway... unless you can confirm you have released any previous reference... which means you must wait until you can confirm it exists... which is related to the delay in booting up outlook... had a very similar problem... :-))
My2cents...
Ric
>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