Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


VBA MAPI App opens "\\Public Folders\..." but in Holland it needs to open "\\Openbare mappen\..." due to Language difference.

Posted on 2006-11-29
Medium Priority
Last Modified: 2008-02-01
I have an Outlook VBA application that needs to access folders stored in "\\Public Folders\All Public Folders".  It has been working fine for some years.  

A colleague in Holland now has a Dutch version of Outlook (2002) installed on his PC and the VBA fails; I believe that this is because the path has changed from "\Public Folders\All Public Folders" to "\\Openbare mappen\Alle openbare mappen".

It seems almost unbelievable that the path name changes with language but using Outlook to browse proves the point.  

How can I navigate to the correct folder regardless of the language please?
Question by:Andy_Needham
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 76

Expert Comment

by:David Lee
ID: 18035708
Greetings, Andy_Needham.

> It seems almost unbelievable that the path name changes with language
Why?  What would the point be in changing language if the names of things didn't change to match the chosen language?  But I think that only applies to default names.  Meaning if I were to create a public folder and named it "Messages from John", then I don't believe that a person in Holland would see "Berichten van John".  That aside, the only way I can think of to make this work is to create a translation routine in your VBA.  You'd need to detect the language in use and adjust the names of default folders accordingly.


Author Comment

ID: 18043775
Thanks for your comments. I don't see the names of other shared resources changing with language/country of use.  Intranet Server paths and internet URLs do not change. Nobody would ever suggest that they should...so why in outlook /exchange server?

Surely, if outlook changes the displayed name of a resource, it must still have a constant unique name (or some form of fixed reference) that underlies it?

If absolutely necessary then I will have to create a translation routine, but for a 'complete solution', that would require me to know the path names used in all languages!
LVL 76

Accepted Solution

David Lee earned 1500 total points
ID: 18044195

> I don't see the names of other shared resources changing with language/country of use.
The difference as I see it is that Public Folders and All Public Folders are static (i.e. they exist in all Exchange installations) and there is nothing analogous to them in Intranet Server paths and internet URLs.  It's apples and oranges.  The closest parallel I can think of would be My Documents, although that's not a shared resource.  That aside, my guess is that My Documents isn't called My Documents in Dutch.  More likely it's "Mijn Documenten" or something like that.  So if your task was to write a script to copy files to My Documents you'd need to know what My Documents was called in each local language.  I did do some additional research and found this script which purports to fix the folder names.  It also confirms what I said above.


> it must still have a constant unique name (or some form of fixed reference) that underlies it
Before posting my first response I reviewed the properties of the MAPIFolder (all folders in Outlook/Exchange are MAPIFolders) object, and I don't see anything that could be used as a fixed reference.  

Author Comment

ID: 18207324

Many thanks for the time you spent trying to help.  I have a feeling that there is a sneaky way around this, but I guess I would need to work for Microsoft to discover it.

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question