Results 1 to 2 of 2
  1. #1
    5 Star Lounger
    Join Date
    Jan 2001
    Location
    austin, Texas, USA
    Posts
    1,029
    Thanks
    0
    Thanked 0 Times in 0 Posts

    coding for locating a public folder

    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!

  2. #2
    Platinum Lounger
    Join Date
    Jan 2001
    Location
    Roanoke area, Virginia, USA
    Posts
    3,729
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: coding for locating a public folder

    check at http://www.slipstick.com she has the code you need there. i think you need to reference them by pathname, but am not totally sure offhand.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •