<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'Detecting language bar changes' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'Detecting language bar changes' posted on the 'Windows XP' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Sat, 25 May 2013 06:17:36 -0700</pubDate>
    <lastBuildDate>Sat, 25 May 2013 06:17:36 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>Detecting language bar changes</title>
      <link>http://www.programmersheaven.com/mb/winxp/308511/308511/detecting-language-bar-changes/</link>
      <description>I need to write a program which knows which language is selected in the language bar.&lt;br /&gt;
&lt;br /&gt;
Anybody knows how to do that?&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/winxp/308511/308511/detecting-language-bar-changes/</guid>
      <pubDate>Mon, 11 Jul 2005 20:14:04 -0700</pubDate>
      <category>Windows XP</category>
    </item>
    <item>
      <title>Re: Detecting language bar changes</title>
      <link>http://www.programmersheaven.com/mb/winxp/308511/395473/re-detecting-language-bar-changes/#395473</link>
      <description>You cna do this is C# as follows:&lt;br /&gt;
&lt;br /&gt;
a) Start a C# Console Applictaion.&lt;br /&gt;
b) Open solution exlorer and add refernce to System.Windows.Forms.&lt;br /&gt;
c) Paste the followng code in the Project Editor.&lt;br /&gt;
&lt;br /&gt;
using System;&lt;br /&gt;
using System.Globalization;&lt;br /&gt;
using System.Windows.Forms;&lt;br /&gt;
&lt;br /&gt;
namespace ConsoleApplication1&lt;br /&gt;
{&lt;br /&gt;
    class Program&lt;br /&gt;
    {&lt;br /&gt;
        static void Main(string[] args)&lt;br /&gt;
        {&lt;br /&gt;
            InputLanguage myDefaultLanguage = &lt;br /&gt;
                                    InputLanguage.DefaultInputLanguage;&lt;br /&gt;
            Console.WriteLine("Current input language is now: " + &lt;br /&gt;
                                myDefaultLanguage.Culture.EnglishName);&lt;br /&gt;
            Console.ReadLine();&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
d) Compile the code and run it.&lt;br /&gt;
&lt;br /&gt;
You should be able to see the  current input languag selected in the language bar.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/winxp/308511/395473/re-detecting-language-bar-changes/#395473</guid>
      <pubDate>Fri, 21 Aug 2009 06:34:53 -0700</pubDate>
      <category>Windows XP</category>
    </item>
  </channel>
</rss>