A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Outlook Language Code Page from MAPI C++ form



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 5th 06, 09:34 PM posted to microsoft.public.outlook.program_addins
m3driver
external usenet poster
 
Posts: 2
Default Outlook Language Code Page from MAPI C++ form

IB VB I can call:

Outlook.Application.LanguageSettings.LanguagePrefe rredForEditing(iid)

to test the code page but how do I get the Current Language Code Page
from a MAPI add in form written in C++?

Thanks, Brian

  #2  
Old July 6th 06, 06:56 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Outlook Language Code Page from MAPI C++ form

Do you mean from an Exchange Client Extension? By using the
Outlook.Application object :-)
http://support.microsoft.com/?kbid=260216

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"m3driver" wrote in message
oups.com...
IB VB I can call:

Outlook.Application.LanguageSettings.LanguagePrefe rredForEditing(iid)

to test the code page but how do I get the Current Language Code Page
from a MAPI add in form written in C++?

Thanks, Brian



  #3  
Old July 7th 06, 03:13 PM posted to microsoft.public.outlook.program_addins
m3driver
external usenet poster
 
Posts: 2
Default Outlook Language Code Page from MAPI C++ form

Thanks Dmitry,

No, not an extension, I have a propriatry message type (not IPM.NOTE)
that when the user attempts to read, launches my MAPI C++ form. The
form supports multiple languages but I need to determine the UI
language of the Outlook application that launched the form in order to
select the appropriate one.

I also have an unrelated Client Extension and have been able to
retrieve the language via GetLanguageID() but in the case of a form I
don't appear to have access to the LPEXCHEXTCALLBACK pointer from which
to find the Outlook::_ApplicationPtr.



Dmitry Streblechenko wrote:
Do you mean from an Exchange Client Extension? By using the
Outlook.Application object :-)
http://support.microsoft.com/?kbid=260216

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"m3driver" wrote in message
oups.com...
IB VB I can call:

Outlook.Application.LanguageSettings.LanguagePrefe rredForEditing(iid)

to test the code page but how do I get the Current Language Code Page
from a MAPI add in form written in C++?

Thanks, Brian


  #4  
Old July 7th 06, 06:23 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Outlook Language Code Page from MAPI C++ form

You can still create an instance of the Outlook.Application COM object.
Since Outlook is already running, you will get back a pointer to that
running instance of Outlook

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"m3driver" wrote in message
oups.com...
Thanks Dmitry,

No, not an extension, I have a propriatry message type (not IPM.NOTE)
that when the user attempts to read, launches my MAPI C++ form. The
form supports multiple languages but I need to determine the UI
language of the Outlook application that launched the form in order to
select the appropriate one.

I also have an unrelated Client Extension and have been able to
retrieve the language via GetLanguageID() but in the case of a form I
don't appear to have access to the LPEXCHEXTCALLBACK pointer from which
to find the Outlook::_ApplicationPtr.



Dmitry Streblechenko wrote:
Do you mean from an Exchange Client Extension? By using the
Outlook.Application object :-)
http://support.microsoft.com/?kbid=260216

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"m3driver" wrote in message
oups.com...
IB VB I can call:

Outlook.Application.LanguageSettings.LanguagePrefe rredForEditing(iid)

to test the code page but how do I get the Current Language Code Page
from a MAPI add in form written in C++?

Thanks, Brian




 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Value not displaying on Read Page after form is sent? Rhino Outlook - Using Forms 8 June 21st 06 05:27 PM
Problem with language settings of Custom Outlook Form Muhammad Usman Outlook - Using Forms 0 May 3rd 06 08:28 AM
Cannot get page 2 on a custom form Alex Martinez Outlook - Using Forms 4 March 29th 06 09:23 PM
How do I remove pages from a form [other than first page]? George Kirby Outlook - Using Forms 1 March 8th 06 12:55 AM
why can't you add a page to a form just like you can add a page to the property page donald Outlook - Using Forms 2 January 25th 06 11:50 AM


All times are GMT +1. The time now is 08:58 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.