VB.net Outlook Com Problem
Hi all,
I have a problem while using COM 'MS Outlook 9.0 Object Library'
when i run the code without open my outlook:
oNameSpace.Logon("MS Exchange Settings", "", False, True)
oFolder = oNameSpace.GetDefaultFolder(Outlook.OlDefaultFolde rs.olFolderInbox)
catch this error :
An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in WindowsApplication1.exe
Additional information: The information store could not be opened.
no error will catch if the outlook was opened.
Is it possible to get inbox folder without open the outlook?
Thanks all
Uriel
|