![]() |
|
#3
|
|||
|
|||
|
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 |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
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 |