I am trying to create a synchronization program that will work with both Outlook personal folders and exchange folders. Working with personal folders is no problem using getdefaultfolder() method, but I can't find a folder that relates to my exchange folders. I can use the pickfolder() method to find the folder I want, which will give me an ID, but I want something that could be more easily transferred to other servers (which would likely have other ID's for the same folders). Here's the code I'm using so far:
l_outapp = CREATEOBJECT("Outlook.Application")
l_outns = l_outapp.GetNamespace("MAPI")
lt = l_outns.GetDefaultFolder(10)
The fullpath of the above code returns //Personal Folders/Contacts
If I use the pickfolder() method (which pops up a modal dialog to pick the folder, like fileopen()), then the path returned is //Mailbox - Steve Howie/Contacts
This is correct.
How do I open the exchange mailbox without having a modal dialog popup?
Thanks in advance
Steve Howie, owner
DaSH Technology
Denver, CO