Information générale
Catégorie:
COM/DCOM et OLE Automation
It doesn't return an error...it just sets there in some type of wait mode.
>Hi!
>
>You can use ON ERROR command to catch the error and see if it happens.
>
>>Does anyone know of anyway to check to see, if Outlook can send an e-mail?
>>
>>The following code runs:
>>
>>loOutlook = CREATEOBJECT('outlook.application')
>>loNameSpace = loOutlook.GetNameSpace("MAPI")
>>
>>*This is where the code fails if the Exchange Server is down. Is there some check I can do before running this code?
>>loRecipient = loNameSpace.CreateRecipient("Monte Murdock")
>>
>>Thank you,
>>
>>MOnTe
Précédent
Suivant
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