473,785 Members | 3,142 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2179
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
3206
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 indeed also true for our language of choice, Python. Its file type allows some extraordinary convenient access like: for line in open("blah"): handle_line(line)
33
2370
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: http://xahlee.org/UnixResource_dir/writ/truncate_line.html
14
2984
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 search in google and found a way with changing the CultureInfo but still didn't work on a TextBox. i'm sure there's a way to do that, but i don't know what's the way. I'm desperate, if some one knows the answer, i will be very thankful to know...
2
13203
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 Lines property works, right?). But, the textbox is used for editing data previously entered into the database. Ideally, what I want is just a hard break at the end of each paragraph so users can smoothly enter or remove data anywhere without...
7
7444
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 appropriate codepage SR = New StreamReader(TBLFilename, System.Text.Encoding.GetEncoding(Cube.CodePage))
8
1376
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 language in the majority of cases is VB. Because the change? Which is the best language to do professional programs I thought C# but now ...
2
12599
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 first column is a textbox(TemplateColumn), the other 3 columns are just display(BoundColumn). (1) if the value of the textbox is 0, then i'd like to change it null, so the box is empty
3
1577
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 GridView is updated with new data the sort does not work. I'm using C# and Ajax for the implementation, below is the code,
10
18048
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
9480
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10327
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10151
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9950
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7499
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6740
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5381
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2879
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.