Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Other hexagora products
 Programs (Programmi)
 VB Unicode and Azeri (Azerbaijan)
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jaimebara
Novice

Brazil
4 Posts

Posted - 12 Jun 2010 :  19:52:34  Show Profile  Visit jaimebara's Homepage  Reply with Quote
Hi. I'm from Brazil and I'm trying to sell a system developed in VB6 to Azerbaijan. I think these controls are what I need.
But, I'm having some issue with the latin azeri character "#601;" or "#399;": when I copy and paste from notepad to the unicode text control the "#399;" is showed perfectly, but when I type it directly from the keyboard it shows a "?".
There is any solution?
Thanks.

The character is not showed here, so please visit: http://en.wikipedia.org/wiki/%C6%8F

Edited by - jaimebara on 13 Jun 2010 06:25:48

jaimebara
Novice

Brazil
4 Posts

Posted - 13 Jun 2010 :  06:39:17  Show Profile  Visit jaimebara's Homepage  Reply with Quote
I have a solution to my problem: to capture the keyboard event and to change for the proper string.

Private Sub t_KeyPress(KeyAscii As Integer, Shift As Integer)
Dim b() As Byte
Dim aux As String
If KeyAscii = 63 Then
aux = Chr(89)
b = aux
b(1) = 2
aux = b
t.SelText = aux
KeyAscii = 0
End If
End Sub

The problem is that the ascii 63 is the "?", but for now I don't need to read the "?" character in my textbox.
I only have to improve my routine to check the shift and capslock.

Any other solution?
[]'s


Edited by - jaimebara on 13 Jun 2010 06:44:07
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 13 Jun 2010 :  09:32:57  Show Profile  Visit s.dav's Homepage  Reply with Quote
jaimebara, have you seen the same problem also writing the character into a UniTextbox in my VB6 sample project?
This because there are some VB6 FORM properties that can interfere with the Unicode management (for example the KeyPreview property)

Regards, Davide
Go to Top of Page

jaimebara
Novice

Brazil
4 Posts

Posted - 14 Jun 2010 :  20:07:49  Show Profile  Visit jaimebara's Homepage  Reply with Quote
Hi,
Yes, the problem is the same in the VB6 sample project.
[]'s
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 15 Jun 2010 :  09:24:42  Show Profile  Visit s.dav's Homepage  Reply with Quote
jaimebara,

can you send me a sample project and explain me how to reproduce the problem? I'll check and fix it.

Regards, Davide
Go to Top of Page

jaimebara
Novice

Brazil
4 Posts

Posted - 17 Jun 2010 :  16:36:36  Show Profile  Visit jaimebara's Homepage  Reply with Quote
Hi,
It?s very simple to reproduce.
Change the keyboard layout and the input language in windows to "Latin Azeri" or "Azeri (latino)" and, in the sample vb6 application, type the key with the ' (between the ; and the enter key) in a unicode text box.
It should display the schwa character but instead shows the ?.
I'm sending a email to xxxxxx with the keyboard layout and my solution.
[]'s


PS. I think you have to change the no unicode programas language to Latin Azeri too.

Edited by - jaimebara on 17 Jun 2010 17:31:41
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 18 Jun 2010 :  14:15:26  Show Profile  Visit s.dav's Homepage  Reply with Quote
mail received, I'll check it asap!

Regards, Davide
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000