Prev: Threading question - ensure execution of a block of code
Next: Any willing to help with reportviewer control in web project?
From: John Meyer on 6 May 2010 09:11 I'm developing a VSTO addin and I'm coming to the part where I'm checking if a particular folder exists: Dim oTweetFolder As Outlook.MAPIFolder = ReadDefaultFolders.Folders("@" & m_twConn.AccountInformation.ScreenName) 'first run so we'll dynamically create the folders If oTweetFolder Is Nothing Then But I keep getting a A first chance exception of type 'System.Runtime.InteropServices.COMException' on that first line. Is there any other way to check the existance of a folder without triggering an exception? |