Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-07-2005, 09:42 AM
Balamurugan
Guest
 
Posts: n/a
Default Re: outlook Add-In problem accessing shared calendar second

Hi

Here is the code snippet

Private Sub m_olInspectors_NewInspector(ByVal Inspector As Outlook.Inspector)
Try

m_olInspector = CType(Inspector, Outlook.InspectorClass)
AddHandler m_olInspector.InspectorEvents_Event_Close, AddressOf
m_olInspector_Close

If TypeOf Inspector.CurrentItem Is Outlook.MailItem Then
m_olMailItem = CType(Inspector.CurrentItem,
Outlook.MailItemClass)
End If
Catch ex As SystemException

End Try


End Sub

The line "If TypeOf Inspector.CurrentItem Is Outlook.MailItem Then" is
giving problem when I used the shared calendar to open the mail item second
time. If I comment out the IfLoop and its contents it is working fine.

Regards
R.Balamurugan
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
outlook Add-In  problem accessing shared calendar second tim Accessing oulook lozababi Outlook 1 05-08-2009 06:13 AM
How to save list of shared links on Outlook? sus Outlook 0 08-26-2008 08:46 AM
Outlook 2003 shared contacts lists problem mlhoward Outlook 0 06-25-2008 06:09 AM
Needs Help on accessing mailitems from C#. Plz. welcome2devilsworld Outlook 0 04-30-2007 09:01 AM
Problem restoring contacts/calendar lbauge Outlook 0 05-02-2006 06:21 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:43 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft