Click here to Skip to main content
15,921,716 members
Home / Discussions / C#
   

C#

 
GeneralRe: RichTextBox.Rtf property argument exception Pin
Heath Stewart14-Jul-04 5:47
protectorHeath Stewart14-Jul-04 5:47 
GeneralComboBox problems... :( Pin
Radoslav Bielik14-Jul-04 3:41
Radoslav Bielik14-Jul-04 3:41 
GeneralRe: ComboBox problems... resolved (probably) Pin
Radoslav Bielik14-Jul-04 5:12
Radoslav Bielik14-Jul-04 5:12 
Questionhow to check language of Outlook Pin
Stephan Wright14-Jul-04 3:17
Stephan Wright14-Jul-04 3:17 
AnswerRe: how to check language of Outlook Pin
Nick Parker14-Jul-04 3:39
protectorNick Parker14-Jul-04 3:39 
GeneralRe: how to check language of Outlook Pin
Stephan Wright14-Jul-04 4:00
Stephan Wright14-Jul-04 4:00 
GeneralRe: how to check language of Outlook Pin
Nick Parker14-Jul-04 5:11
protectorNick Parker14-Jul-04 5:11 
AnswerRe: how to check language of Outlook Pin
Ivaylo®14-Jul-04 5:18
Ivaylo®14-Jul-04 5:18 
You can do this by using COM interfaces exposed by OutLook.
For example if you use Visual Basic, Visual Basic .NET, C# you can check the language of OutLook by referencing the Type Library of OutLook and getting the value of
Application.LanguageSettings.LanguageID(msoLanguageIDUI) (VB6.0 and VBA in OutLook syntax )
This is a Long data type representing the Language ID. For example 1033 is for English language.
You can see all of the values for language ID in “Object browser” in Visual Basic editor by searching for LanguageID.
In C# syntax is:
Outlook.Application ptlApp=new Outlook.ApplicationClass() ;
System.Diagnostics.Debug.WriteLine(ptlApp.LanguageSettings.get_LanguageID( Microsoft.Office.Core.MsoAppLanguageID.msoLanguageIDUI).ToString());

If You use VC++ you can use #import directive for importing of Type library of OutLook but the syntax will look different.



IKH
GeneralRe: how to check language of Outlook Pin
Nick Parker14-Jul-04 6:21
protectorNick Parker14-Jul-04 6:21 
GeneralRe: how to check language of Outlook Pin
Stephan Wright14-Jul-04 21:25
Stephan Wright14-Jul-04 21:25 
GeneralRe: how to check language of Outlook Pin
Ivaylo®14-Jul-04 21:56
Ivaylo®14-Jul-04 21:56 
GeneralWindowsForm Styles too Limited Pin
3green14-Jul-04 3:04
3green14-Jul-04 3:04 
GeneralRe: WindowsForm Styles too Limited Pin
Gary Thom14-Jul-04 4:24
Gary Thom14-Jul-04 4:24 
GeneralInternet Explorer, Flash and OnClick message... Pin
Alex Getman14-Jul-04 1:50
Alex Getman14-Jul-04 1:50 
GeneralRe: Internet Explorer, Flash and onclick message... Pin
Nick Parker14-Jul-04 3:21
protectorNick Parker14-Jul-04 3:21 
GeneralRe: Internet Explorer, Flash and onclick message... Pin
Alex Getman14-Jul-04 4:16
Alex Getman14-Jul-04 4:16 
GeneralRe: Internet Explorer, Flash and onclick message... Pin
Nick Parker14-Jul-04 4:50
protectorNick Parker14-Jul-04 4:50 
GeneralSetup and Installation Project Pin
Praveen Nayak14-Jul-04 0:19
Praveen Nayak14-Jul-04 0:19 
GeneralRe: Setup and Installation Project Pin
Heath Stewart14-Jul-04 5:11
protectorHeath Stewart14-Jul-04 5:11 
GeneralRe: Setup and Installation Project Pin
Praveen Nayak14-Jul-04 5:23
Praveen Nayak14-Jul-04 5:23 
GeneralRe: Setup and Installation Project Pin
Heath Stewart14-Jul-04 5:42
protectorHeath Stewart14-Jul-04 5:42 
GeneralYou Can Also Post Your Openion. Pin
sreejith ss nair13-Jul-04 22:57
sreejith ss nair13-Jul-04 22:57 
GeneralRe: You Can Also Post Your Openion. Pin
Dave Kreskowiak14-Jul-04 8:28
mveDave Kreskowiak14-Jul-04 8:28 
GeneralA question about Image of PictureBox Pin
Member 94012513-Jul-04 21:47
Member 94012513-Jul-04 21:47 
GeneralRe: A question about Image of PictureBox Pin
Heath Stewart14-Jul-04 5:32
protectorHeath Stewart14-Jul-04 5:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.