• coding for locating a public folder

    Author
    Topic
    #352370

    I am trying to build a simple synch button from access to a public folder in a custom form. how do i identify a specific folder in the public folder group?

    the code I have is:

    Set objOutlook = CreateObject(“Outlook.Application”)
    Set nms = objOutlook.GetNamespace(“MAPI”)
    Set fldContacts = nms.GetDefaultFolder(olFolderContacts)
    Set itms = fldContacts.Items

    it would seem the last two lines need to be edited to point to something other that nms.GetDefaultFolder(olFolderContacts) and fldContacts.Items, but I can’t seem to locate any sample that doesn’t use these methods. I have looked at the slapstick.com utility but don’t want to bother with a solution that costs $$ when I should be able to build what I need with the code I have already wonked out.

    Thanks!

    Viewing 0 reply threads
    Author
    Replies
    Viewing 0 reply threads
    Reply To: coding for locating a public folder

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: