Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot create an Outlook object
Message
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Cannot create an Outlook object
Divers
Thread ID:
00830742
Message ID:
00830742
Vues:
58
I'm getting a invalid cast error with the following code. Does anybody know how to a reference to Outlook's namespace?

Outlook.Application ol = new Outlook.Application();
Outlook.NameSpace ns = ol.GetNamespace("MAPI");

I'm running Office XP but have the old .NET. PIA is installed.

TIA, John
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform