Wrox Programmer Forums
|
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 29th, 2004, 04:41 AM
Registered User
 
Join Date: Jul 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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






Similar Threads
Thread Thread Starter Forum Replies Last Post
Sending Email from VB.NET not using outlook hplim18 Pro VB.NET 2002/2003 2 November 23rd, 2008 04:38 AM
Reading Emails from outlook using VB.net g_vamsi_krish ASP.NET 1.0 and 1.1 Basics 0 August 2nd, 2006 04:19 AM
VB .NET COM Add-in on Outlook 2000 kydm VB.NET 3 June 9th, 2005 12:57 PM
How to read out a outlook inbox in VB.NET splanky VB How-To 0 December 10th, 2003 11:06 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.