Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Outlook: If it's not running - error on CreateItem
Message
De
21/12/2001 18:26:01
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Outlook: If it's not running - error on CreateItem
Divers
Thread ID:
00597633
Message ID:
00597633
Vues:
61
I'm creating an Outlook object (oOutlook = CREATEOBJECT("Outlook.Application")) and immediately after a message object (oMessage=oOutlook.CreateItem(0)).

If Outlook isn't running before these two statements, an error pops up: #1429 on *second* line with message:
'OLE IDispatch exception code 61704 from Microsoft Outlook: Internal application error'.

If Outlook is running beforehand, everything's perfect.

I tried with putting a 5 and 10 seconds pause in between these two statements to no avail.

Have anybody seen this?
Sasha Burkich
Consultant
Victoria, BC
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform