473,390 Members | 1,402 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,390 software developers and data experts.

Hard Question ! - Change language in specific textBox

Hi,

I've a form with few TextBoxes and in all i'm writing in language A except
one which i want to write in language B (both A and B are installed on my
PC). how can I make the specific textBox to write in language B when it has
the focus and get back to language A when it loses it.

I tried to send Alt+Shift and it's working when i move from one TextBox to
the other, but then when i leave the form (OnClosing i.e.) i'm stuck with
language B no matter what i'm doing.

Need HELP !!!!

thanks,
Gidi.
Jan 16 '06 #1
3 2130
On the text boxes, handle the focus received event and in this , add the code
to change the input IME.

I hope I got the question correct.
--
Regards
Vipul Patel
Microsoft MVP
"Gidi" wrote:
Hi,

I've a form with few TextBoxes and in all i'm writing in language A except
one which i want to write in language B (both A and B are installed on my
PC). how can I make the specific textBox to write in language B when it has
the focus and get back to language A when it loses it.

I tried to send Alt+Shift and it's working when i move from one TextBox to
the other, but then when i leave the form (OnClosing i.e.) i'm stuck with
language B no matter what i'm doing.

Need HELP !!!!

thanks,
Gidi.

Jan 17 '06 #2
I didn't get your answer.

I'm looking for a way to move from one language to the other...

"Vipul Patel" wrote:
On the text boxes, handle the focus received event and in this , add the code
to change the input IME.

I hope I got the question correct.
--
Regards
Vipul Patel
Microsoft MVP
"Gidi" wrote:
Hi,

I've a form with few TextBoxes and in all i'm writing in language A except
one which i want to write in language B (both A and B are installed on my
PC). how can I make the specific textBox to write in language B when it has
the focus and get back to language A when it loses it.

I tried to send Alt+Shift and it's working when i move from one TextBox to
the other, but then when i leave the form (OnClosing i.e.) i'm stuck with
language B no matter what i'm doing.

Need HELP !!!!

thanks,
Gidi.

Jan 17 '06 #3
That will be possible through event handling. That's what my initial answer
was. I will look for a sample code and post it later.
--
Regards
Vipul Patel
Microsoft MVP
"Gidi" wrote:
I didn't get your answer.

I'm looking for a way to move from one language to the other...

"Vipul Patel" wrote:
On the text boxes, handle the focus received event and in this , add the code
to change the input IME.

I hope I got the question correct.
--
Regards
Vipul Patel
Microsoft MVP
"Gidi" wrote:
Hi,

I've a form with few TextBoxes and in all i'm writing in language A except
one which i want to write in language B (both A and B are installed on my
PC). how can I make the specific textBox to write in language B when it has
the focus and get back to language A when it loses it.

I tried to send Alt+Shift and it's working when i move from one TextBox to
the other, but then when i leave the form (OnClosing i.e.) i'm stuck with
language B no matter what i'm doing.

Need HELP !!!!

thanks,
Gidi.

Jan 17 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Hans-Joachim Widmaier | last post by:
Hi all. Handling files is an extremely frequent task in programming, so most programming languages have an abstraction of the basic files offered by the underlying operating system. This is...
33
by: Xah Lee | last post by:
The Harm of hard-wrapping Lines 20050222 Computing Folks of the industry: please spread the debunking of the truncating line business of the fucking unix-loving fuckheads, as outlines here:...
14
by: Gidi | last post by:
Hi, For the last week, i'm looking for a way to make a TextBox always write in English (No matter what the OS default language is). i asked here few times but the answers i got didn't help me. i...
2
by: Mike | last post by:
I need my textbox to work more smoothly with respect to line breaks. When I have data pulled from the database into a textbox there are hard line breaks at the end of each line (by definition how...
7
by: Richard Bond | last post by:
Hi Is there anyway to change the characterset/codepage of a specific textbox on a winform. I have read in a "chinese traditional big5" file into memory using a streamreader with the...
8
by: Javier Martínez | last post by:
Hi Since a few months ago I have observed a change in the language used by MS people to write articles or to do presentations, before the change the language the more used was C# now the...
2
by: simon | last post by:
hello, new to vb.net, have a few questions about DataGrid. I have a dataGrid that is working pulling a dataset back from a stored proc and binding to the datagrid for display the datagrid's...
3
by: Ashton | last post by:
Hello, I have a GridView; once the page is loaded I can sort it just fine, I can sort it as many times as I would like, I can sort any of the columns. After clicking on Search and the...
10
by: engteng | last post by:
When textbox properties enable = False the font in the textbox become gray color. How do I change the gray color to black color ? Regards, Tee
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.