![]() |
| If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|||||||
| Tags: language, outlook, used |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi All,
Is there some small code in VB to check if your outlook is using English or another language? I have to sort emails on Date Received which is done by using: olDeleteFolder.Items.Sort ("[Received]"), True However when I use my code on a Dutch machine it should say: olDeleteFolder.Items.Sort ("[Ontvangen]"), True Is there something like: If language = English then ..... else ........ endif Regards Marco |
| Ads |
|
#2
|
|||
|
|||
|
The Application.LanguageSettings object contains locale information. This
object is actually part of the Office Object Model, not Outlook (but it derives from Outlook's Application object). From what I remember though, you don't have to code in the language of the computer that your code is installed on. Any user data (names of views, folders, etc.) of course needs to be referenced exactly, but you shouldn't have to use translated Property names. -- Eric Legault (Outlook MVP, MCDBA, old school WOSA MCSD, B.A.) Try Picture Attachments Wizard for Outlook: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault/ "vonClausowitz" wrote: Hi All, Is there some small code in VB to check if your outlook is using English or another language? I have to sort emails on Date Received which is done by using: olDeleteFolder.Items.Sort ("[Received]"), True However when I use my code on a Dutch machine it should say: olDeleteFolder.Items.Sort ("[Ontvangen]"), True Is there something like: If language = English then ..... else ........ endif Regards Marco |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| change language | btissam | Outlook - Using Contacts | 1 | March 6th 06 11:40 AM |
| Wrong language | Kalyn | Outlook - Installation | 0 | February 23rd 06 02:56 PM |
| outlook contacts index button in foreign language | randy821 | Outlook - Using Contacts | 0 | February 2nd 06 07:39 AM |
| how do enter contacts in a foreign language in Outlook? | Costis | Outlook - Using Contacts | 1 | January 23rd 06 12:16 PM |
| language characters | tomber77 | Outlook - Installation | 0 | January 9th 06 02:34 PM |