Andy_Needham
asked on
VBA MAPI App opens "\\Public Folders\..." but in Holland it needs to open "\\Openbare mappen\..." due to Language difference.
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?
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?
ASKER
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!
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!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
BlueDevilFan,
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.
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.
> 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.
Cheers!