Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Endless loop trying to create object
Message
De
04/10/2021 07:09:05
 
 
À
02/10/2021 07:19:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01682392
Message ID:
01682423
Vues:
86
>>>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.

Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform