Information générale
Catégorie:
COM/DCOM et 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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement