General information
Category:
Coding, syntax & commands
>>>>>Hello all,
>>>>>
>>>>>Big problem this morning. executing this line of code gets me in an endless loop.
>>>>>Lines of code look like this
>>>>>
>>>>>Try
>>>>>loOutlookObject = CREATEOBJECT ("Outlook.Application") * Execution of this line
>>>>>.
>>>>>catch
>>>>
>>>>Can you start Outlook manually? If you start it first, does this line still fail?
>>>
>>>Ditched Outlook looong ago, so cannot test - does Outlook support multiple instances ?
>>>GetObject() IAC perhaps better to try first if instance is already alive...
>>
>>Outlook's funny that way. One instance and CreateObject() will grab it, if it's already running.
>>
>Should have guessed at MS curiosity and not that you had mistyped...
>Probably a side effect of forcing single instance - any documentation from MS as to source and method ?
I don't remember. I learned all this about Outlook writing the Automation book and that's more than 20 years ago, so...
Tamar
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