Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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.

George C.K. Low

Posted

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?

Posted

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.

George C.K. Low

Posted

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)

George C.K. Low

Posted

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...

George C.K. Low

Posted

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.

George C.K. Low

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...