Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > .NET 2.0 and Visual Studio. 2005 > .NET Framework 2.0
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
.NET Framework 2.0 For discussion of the Microsoft .NET Framework 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 2.0 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 14th, 2006, 08:34 AM
Authorized User
 
Join Date: Nov 2004
Location: Lahore, , Pakistan.
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default Multilanguage software

Hi All,

        I am working at a software that will use multilanguage interface. Now my requirement is to get list of languages installed in windows xp. So that i can alter the languages in order..

i think i should explain.....

in windows Xp we can install multiple languages using the region and languages icons. and we can swicth between languages using some shortcut key most probably ALT+SHIFT...

Now i want to find out that at the current moment how many languages are installed in windows xp and what is the current language seleted.... and this all i need to do through programming in C#... if any one has done some job like this... kindly help....

                                tayyab
__________________
Tiyyob
Reply With Quote
  #2 (permalink)  
Old June 14th, 2006, 08:51 AM
Authorized User
 
Join Date: Nov 2004
Location: Lahore, , Pakistan.
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi all,

 i found the solution from microsoft web site... here is the code for u

public void GetLanguages()

{

// Gets the list of installed languages.

foreach (InputLanguage lang in InputLanguage.InstalledInputLanguages)

{

//textBox1.Text += lang.Culture.EnglishName + '\n';

MessageBox.Show(Convert.ToString(lang.Culture.Engl ishName));

}

}

private void button2_Click(object sender, EventArgs e)

{

GetLanguages();

}



it will show all the languages currently installed........


                    happy coding...

                        tayyab
Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multilanguage Interface tiyyob .NET Framework 2.0 1 June 14th, 2006 01:03 AM
Multilanguage Error jap ASP.NET 1.0 and 1.1 Professional 1 September 6th, 2005 04:32 AM
best WWW Authoring Software (FREE!) software crmpicco HTML Code Clinic 2 July 18th, 2005 03:37 AM
Using XML for multilanguage? lachdanan Classic ASP XML 3 May 19th, 2005 10:10 AM
Multilanguage Olaf_l Classic ASP Basics 3 March 23rd, 2005 06:13 AM



All times are GMT -4. The time now is 02:49 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.