Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: Outlook Language Code Page from MAPI C++ form

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Outlook Language Code Page from MAPI C++ form
"m3driver" <ford_prefect68[ at ]yahoo.com> 05.07.2006 19:34:22
IB VB I can call:

Outlook.Application.LanguageSettings.LanguagePreferredForEditing(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

Re: Outlook Language Code Page from MAPI C++ form
"Dmitry Streblechenko" <dmitry[ at ]dimastr.com> 06.07.2006 16:56:02
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" <ford_prefect68[ at ]yahoo.com> wrote in message
news:1152128062.297462.326330[ at ]a14g2000cwb.googlegroups.com...
[Quoted Text]
> IB VB I can call:
>
> Outlook.Application.LanguageSettings.LanguagePreferredForEditing(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
>


Re: Outlook Language Code Page from MAPI C++ form
"m3driver" <ford_prefect68[ at ]yahoo.com> 07.07.2006 13:13:34
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:
[Quoted Text]
> 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" <ford_prefect68[ at ]yahoo.com> wrote in message
> news:1152128062.297462.326330[ at ]a14g2000cwb.googlegroups.com...
> > IB VB I can call:
> >
> > Outlook.Application.LanguageSettings.LanguagePreferredForEditing(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
> >

Re: Outlook Language Code Page from MAPI C++ form
"Dmitry Streblechenko" <dmitry[ at ]dimastr.com> 07.07.2006 16:23:49
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" <ford_prefect68[ at ]yahoo.com> wrote in message
news:1152278014.239536.199270[ at ]s13g2000cwa.googlegroups.com...
[Quoted Text]
> 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" <ford_prefect68[ at ]yahoo.com> wrote in message
>> news:1152128062.297462.326330[ at ]a14g2000cwb.googlegroups.com...
>> > IB VB I can call:
>> >
>> > Outlook.Application.LanguageSettings.LanguagePreferredForEditing(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
>> >
>


Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net