Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to instantiate an Outlook automation object?
Message
De
10/02/2003 12:16:40
Keith Payne
Technical Marketing Solutions
Floride, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
How to instantiate an Outlook automation object?
Divers
Thread ID:
00751480
Message ID:
00751480
Vues:
66
Can anyone point me to a reference for creating an Outlook Automation object in my Web Service? I haven't been able to find anything that works.

I have the following code in an .asmx page:
        Dim OutlookApp As Outlook.Application = New Outlook.Application()
        Dim OutlookNamespace As Outlook.NameSpace = OutlookApp.GetNamespace("MAPI")
        Dim OutlookContacts As Outlook.MAPIFolder
        Dim OutlookContact As Outlook.ContactItem
Unfortunately, the code comes to a screetching halt on the very first line. I don't get any specific errors, only a HTTP 500. FYI Outlook has been added to the project references and I can see the properties and methods while typing code.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform