Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check if outlook is available
Message
De
18/09/2001 06:34:03
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00557360
Message ID:
00557690
Vues:
9
Thanks,
That means I have to create the Outlook object and after it fails react.
Therefore a lot of time is waisted waiting for outlook and going through its silly dialog about local access etc.
There are no low level API calls I could do to know if I have a network connection???
I I could create a oApp.I_am_connected property I could make all web links invisible at the same time...

Peter



>>I have an application where I do automation with Outlook.
>>On a laptop without connection to the network there is no outlook and my system breaks with an OLE error.
>>Can I check invisibly, if outlook is available and if not disable the interface?
>>Can I also check if the macro feature has been turned off, to hide that ugly window from MS's security patch<g>
>>
>>Peter
>
>Peter,
>You can trap the error using an ON ERROR routine or if you are using a class to handle the functionality, you can use the Error event.
>
>Can't help you with the security issue. Sorry.
Peter Cortiel
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform