Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object instantiated
Message
De
22/04/2003 18:06:48
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Object instantiated
Divers
Thread ID:
00780375
Message ID:
00780375
Vues:
40
How do I check if an object has been created?

loOutlook = CREATEOBJECT("Outlook.Application")

*Get the MAPI namespace and find the contacts folder
loNamespace = loOutlook.GetNameSpace("MAPI")
loFolder = loNameSpace.PickFolder

The Pickfolder allows for the selection of a folder in Outlook, but if the user presses cancel, loFolder doesn't become an object, so i want to check if loFolder has been created before doing anything else.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform