Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / July 2004

Tip: Looking for answers? Try searching our database.

Where to Find Documentation for Interop Modules

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
David Elliott - 16 Jul 2004 15:50 GMT
I am looking to do some work using Outlook.  This is a link
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnout98/html/ms
dn_movs105.asp

that explains what I am going to do.

My question is how do I find documentation for Interop Modules

Given the following code, how can I find out what the parameters of Logon( ) are and
if the method throws exceptions, etc.  

    Dim oApp As Outlook.Application = New Outlook.Application

    ' Get NameSpace and Logon.
    Dim oNS As Outlook.NameSpace = oApp.GetNamespace("mapi")
    oNS.Logon(Missing.Value, Missing.Value, False, True) ' TODO:

    ' Get Appointments collection from the Calendar folder.
    Dim oCalendar As Outlook.MAPIFolder = oNS.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderCalendar)
    Dim oItems As Outlook.Items = oCalendar.Items

I specifically am looking for the Outlook information at the present time but would like to find
ANY Interop documentation in the future.  Using F1 on the key word doesn't go anywhere and
trying VS search or google returns so many pages that it like looking for a needle in a hay stack.

Any help is appreciated.

Cheers,
Dave
Mattias Sj?gren - 16 Jul 2004 19:40 GMT
David,

>My question is how do I find documentation for Interop Modules

The Outlook 2003 object model is documented here

http://msdn.microsoft.com/library/en-us/vbaol11/html/oltocOMMap.asp

and the Namespace.Logon method specifically is documented here

http://msdn.microsoft.com/library/en-us/vbaol11/html/olmthLogon.asp

>I specifically am looking for the Outlook information at the present time but would like to find
>ANY Interop documentation in the future.

In general, you should look for documentation for the original COM
API, not specifically the interop wrapper.

Mattias

Signature

Mattias Sjögren [MVP]  mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.