S
Shshank
I am facing a problem accessing the Public Folder.
The code just hangs at the point where I try to access
the "Public Folders" folder.
Here's a code snippet.
Dim ol as Outlook.Application
Dim olns as Outlook.NameSpace
Dim myFlr1 as Outlook.mapiFolder
Dim myFlr2 as Outlook.mapiFolder
Set ol = New Outlook.Application
Set olns = ol.GetNameSpace("MAPI")
Set myFlr1 = olns.Folders("Public Folders") <---- HANGS !
Set myFlr2 = myFlr1.Folders("All Public Folders")
.... ... ...
.... ... ...
Hope somebody can help.
Thanks
-Shshank
The code just hangs at the point where I try to access
the "Public Folders" folder.
Here's a code snippet.
Dim ol as Outlook.Application
Dim olns as Outlook.NameSpace
Dim myFlr1 as Outlook.mapiFolder
Dim myFlr2 as Outlook.mapiFolder
Set ol = New Outlook.Application
Set olns = ol.GetNameSpace("MAPI")
Set myFlr1 = olns.Folders("Public Folders") <---- HANGS !
Set myFlr2 = myFlr1.Folders("All Public Folders")
.... ... ...
.... ... ...
Hope somebody can help.
Thanks
-Shshank