georgepatotk Posted March 18, 2005 Posted March 18, 2005 Sorry to bring this topic up again. I hope you could help me on some problem, since you had ever one chinese application. Here is my problem: 1. I had developed my software application using vb.net. 2. My databases is by using Microsoft Access XP. Which I key in all the data into the databases using IME. 3. When I deploy my system into Windows 98 or ME, it happens that IME is not workable with my system. 4. So, I am wondering how to make my system workable with IME in Windows 98 and ME. *For those who don't know, IME: Input Method Editor Thanks in advance. Quote George C.K. Low
bungpeng Posted March 18, 2005 Posted March 18, 2005 There is nothing to do with IME, because IME is just a tool for you to produce 'chinese' (let's say) character. I not sure your problem, what do you mean 'IME not workable with your system'? It means no IME in Windows98? or when you retrieve characters from database, it can't display properly? or you cannot insert chinese characters in database using Windows98? Quote
georgepatotk Posted March 18, 2005 Author Posted March 18, 2005 Let me explain my situation: 1. I had written my system using vb.net. 2. My databases is MS Access. 3. I key in all my databases using IME. And it works perfect in Windows XP. 4. After I deploy the system to Windows 98 and ME, the characters seems not able to display. Even I had already install IME for windows 98 from here . 5. So, i had some researches around and found out Microsoft Global IME for Windows 98 and Me might not work with certain program. So, i was thinking that I need to do something in my system, so that it will make my system workable with the IME tools. I am now very blur, and confuse, dont' know what should I do, cause the system dead line is over. I hope to solve thi problem as soon *** possible. Thanks for your reply.... I am looking forward for your reply. Quote George C.K. Low
georgepatotk Posted March 18, 2005 Author Posted March 18, 2005 BungPeng, u are from Malaysia? Can I have your number, so that I could call you up this help? Or can you add me with msn or yahoo messenger or icq? MSN: georgepatotk@hotmail.com YM: georgepatotk ICQ: 8276432 And I would like to say thanks in advance Quote George C.K. Low
georgepatotk Posted March 19, 2005 Author Posted March 19, 2005 I found out a way to solve this problem. It is to convert the chinese character into DBCS(double byte character set) from Unicode. So, the theory part I know already. Anyone can let me know on how to convert Unicode to DBCS? I want to do somehting like this: lblTopic.Text = ConvertToDBCS(unicodeString) Quote George C.K. Low
georgepatotk Posted March 19, 2005 Author Posted March 19, 2005 Ok, I figured out how to convert. Dim theString As String = theChineseString Dim source() As Byte = Encoding.Unicode.GetBytes(theString) Dim target() As Byte = Encoding.Convert(Encoding.Unicode, Encoding.UTF7, source) Dim str As String = Encoding.UTF7.GetString(target) MessageBox.Show(str) Now i got other problem. How to make label and command button to be able to read DBCS? for textbox and listbox, it works automatically. Please help if you know how to do this. Thanks... Quote George C.K. Low
georgepatotk Posted March 21, 2005 Author Posted March 21, 2005 Yeah... I think using String is the best way. But, I encounter that if I do txtBox.Text = theChineseString, it works, when I do lbl.text = theChineseString, it doesn't work. I am wondering why the label doesn't work, but the textbox works. Can you suggest on how should I do to make the label works? *The label doesn't work when my system is deployed to Windows98, and Windows ME. It works perfectly in Windows XP. Quote George C.K. Low
*Gurus* Derek Stone Posted March 22, 2005 *Gurus* Posted March 22, 2005 Please don't hijack other people's threads. I've split your posts off into a new discussion. Quote Posting Guidelines
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.