K
KP
Hi,
Am using the particular piece of code
Dim olApp As Outlook.Application
Dim objName As NameSpace
Dim objViews As Views
Dim objView As View
Set olApp = Outlook.Application
Set objName = olApp.GetNamespace("MAPI")
Set objViews = objName.GetDefaultFolder(olFolderInbox).Views
'Return a view called Table View
Set objView = objViews.Item("Table View")
but when i comiple " user defined type not declared" --> "objViews As Views"
what reference should i add?
Am using VB6.0 and Outlook 2000
Am using the particular piece of code
Dim olApp As Outlook.Application
Dim objName As NameSpace
Dim objViews As Views
Dim objView As View
Set olApp = Outlook.Application
Set objName = olApp.GetNamespace("MAPI")
Set objViews = objName.GetDefaultFolder(olFolderInbox).Views
'Return a view called Table View
Set objView = objViews.Item("Table View")
but when i comiple " user defined type not declared" --> "objViews As Views"
what reference should i add?
Am using VB6.0 and Outlook 2000