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)
 Unicode controls
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

nikolaus
Practical

Germany
20 Posts

Posted - 29 Nov 2009 :  17:14:13  Show Profile  Visit nikolaus's Homepage  Reply with Quote

Hi Davide,

- thank you for the great VB6 Unicode controls! Exactly what I was searching for!!! At the first look they impress me a lot!
I tryied out the controls on my (old?) XP Notebook. Yesterday I thought about Win 7, but installation of VB 6.0 Pro didn't succeede! Some 'VB6TMPL.TLB' was missing, After this Win7 information, the installation interrupted. Any idea what to do? Next I tried to make an installation package of your 'Sample 1', next tried to install it at this sucking Win7 (even as admin it doesn't display 'program files' folder...), but some text box control seemed to be frozen, beside other broken effects. Okay, you told not to try an installation package, but what should I do to figure out wheather my program works on a Win 7 with your controls implemented? Any clues what to do? Thank you!

- Thinking of what I'd need, I remember that something for registry keys with unicode capabilities would be nice. Sorry, can't remember to have seen any yesterday at the office. Did I miss the right sample?

- On your page 'http://www.hexagora.com/en_dw_unictrl.asp' the three links to the 'Sisulizer'-software packets are broken,

- Will you send me a receipt on your VB6.0 Unicode controls package (e.g. by mail) if I buy?

- Ahh, another thing is crossing my brain: For my customers I use MS-Inet from VB6.0Pro for ftp file uploads in my app. Is it known for Unicode capabilities, or is it needed to use something else? Last month I was in Korea and they intensively use Korean characters in their website URLs. Strange thing to see something like that, but how do we come across to ftp upload a Korean named file ?

Thanks again fo this lots of solutions you coded in your Unicode controls package! You are right: It is no use in having the controls only, because there are a lot of other jobs to handle for a VB program in communication with the underlying operating system!

Sincerely yours, Nikolaus



joneq
Super User

433 Posts

Posted - 29 Nov 2009 :  19:47:47  Show Profile  Visit joneq's Homepage  Reply with Quote
http://www.hexagora.com/en_dw_unictrl.asp
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 30 Nov 2009 :  08:59:11  Show Profile  Visit s.dav's Homepage  Reply with Quote
Nikolaus,

I have personally tested VB6 and my Unicode Controls on Vista and Win 7, 32 and 64 bit, without any problem.
I simply ignored errors in the VB6 installation when they appeared
For the sisulizer package, I'll check it

- Will you send me a receipt on your VB6.0 Unicode controls package (e.g. by mail) if I buy?
Obviously yes

- Ahh, another thing is crossing my brain: For my customers I use MS-Inet from VB6.0Pro for ftp file uploads in my app.

I don't know, I also have a FTP Unicode class but not in the Unicode Controls package;
it is used by my major program, Dynamic HTML Editor



Regards, Davide
Go to Top of Page

nikolaus
Practical

Germany
20 Posts

Posted - 30 Nov 2009 :  12:45:43  Show Profile  Visit nikolaus's Homepage  Reply with Quote
@joneq:

Sorry, don't understand. What was the new you want me to tell by posting the same URL I posted? Did you want to tell that you have found it? Okay, brilliant.

@Davide:

Okay, I trust you that you did your best in developing and testing on your PC, but I didn't plan to do wrong too and even then I recognized that on the PC's in Korea something did not work from the first moment ;-) ...know what I mean?
E.g. your form caption seems to be done by a workaround, because a left half of the first byte is to be seen - sometimes. If you apply manually some blanc spaces to the caption and afterwards the new caption, then the new caption is seen exclusively. If you apply the blanc spaces by code and apply the desired caption directly afterwards by code too, the first half character will remain. Do you use an overlay in front of the form and have problems in finding the correct placement?
Okay, don't be angry about me - I don't care too much about some smaller side effects like that. I just tell about that caption fault because I want to make understandable that it is allways a difference to test functions my self.

I'll try to get the VB installed and then I'll procede testing theh controls. Thanx for now - I'll come back.
Btw: The installation issue is a known fault:
http://support.microsoft.com/kb/262976/en-us/

For the INet.ocx I try to find a solution later. If I'd need yours, do you sell it?

C.U., N.
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 30 Nov 2009 :  16:51:38  Show Profile  Visit s.dav's Homepage  Reply with Quote
>the first half character will remain. Do you use an overlay in front of the form and have problems in
> finding the correct placement?

The solution is different from a Themed Windows and a non-Themed one.
For the Themed Windows the solution is quite simple and without any strange issues; with non-themed Windows the use of an Unicode Caption consists in a very complex management that sometimes gives strange behaviors.

>For the INet.ocx I try to find a solution later. If I'd need yours, do you sell it?
I can give it to you as a gift, this is not a complete INET component but it is a complete Unicode FTP component.


Regards, Davide
Go to Top of Page

nikolaus
Practical

Germany
20 Posts

Posted - 02 Dec 2009 :  20:17:45  Show Profile  Visit nikolaus's Homepage  Reply with Quote
quote:
Originally posted by s.dav

>the first half character will remain. Do you use an overlay in front of the form and have problems in
> finding the correct placement?

The solution is different from a Themed Windows and a non-Themed one.
For the Themed Windows the solution is quite simple and without any strange issues; with non-themed Windows the use of an Unicode Caption consists in a very complex management that sometimes gives strange behaviors.

>For the INet.ocx I try to find a solution later. If I'd need yours, do you sell it?
I can give it to you as a gift, this is not a complete INET component but it is a complete Unicode FTP component.



Go to Top of Page

joneq
Super User

433 Posts

Posted - 02 Dec 2009 :  20:26:50  Show Profile  Visit joneq's Homepage  Reply with Quote
quote:
Originally posted by nikolaus

@joneq:

Sorry, don't understand. What was the new you want me to tell by posting the same URL I posted? Did you want to tell that you have found it? Okay, brilliant.




Well actually I wanted to tell you I did not find it[working that is] Have you clicked your link at all--it is not a link--it is useless the way you have it--sorry you don't understand,but I think it is always easier to click a link and have it take me where the person wants it to take me rather than an error page--my bad..
Go to Top of Page

nikolaus
Practical

Germany
20 Posts

Posted - 03 Dec 2009 :  10:07:33  Show Profile  Visit nikolaus's Homepage  Reply with Quote
@joneq:
Ah, you'r right! Was commenting too much VB lines and included the link into two ' by bad habbits - was my mistake...
Go to Top of Page

joneq
Super User

433 Posts

Posted - 03 Dec 2009 :  15:50:50  Show Profile  Visit joneq's Homepage  Reply with Quote
no probs nikolaus-
Go to Top of Page

nikolaus
Practical

Germany
20 Posts

Posted - 23 Dec 2009 :  18:02:39  Show Profile  Visit nikolaus's Homepage  Reply with Quote

Dear Davide,

guess I'm lost in 'As Byte', 'Array()', 'SafeArrayCreateVector()' and other stuff.
Trying to implement your nice controls, I came to the point to implement Byte Arrays instead of Strings, because on my journey to a fast code execution I recognized, that especially on large strings (character and file content to process), byte arrays are much faster.
But it seems to be more difficult to deal with too.

Basically I tried to code some 'Left()', 'Right()', 'InStr()', 'Mid()' things for byte arrays, because it makes no sense to e.g. read a file into a byte array and then - for every string operation - to convert this to a string, process the 'slow' string operation and convert it back to a byte array.

I don't know a substitution for the string operator '&' ('sStr = sStr1 & sStr2 & sStr3') for joining e.g. three byte arrays. I coded a solution myself, but it seems I don't understand the different 2(?) kinds of a byte arrays:

When I make a 'Dim bytByteArray() As Byte' and later make a 'bytByteArray = "abc"', then the 'UBound(bytByteArray)' always is '0' - even on a module property set to 'Option Base 1' ... Uuuhh ? ? ? Copying a string to a byte like 'btByte = "ABC" is creating something else but having a 'btByte(0) = 65', 'btByte(1) = 66', 'btByte(2) = 67'.

And now I got lost in 'ragged arrays' and other stuff.

Do you please give me a hint on the right approach on how to manage UNICODE chars in VB code?
I need another 'entry point' of understanding the things, I guess. For making PDU-conversion (something like a MIME-conversion for eMAil attachments, but for sending status sms'es over a mobile phone in Chinese characters) it is not sufficient to have it handled in 'string' variables :~(

Thanks for any suggestions.

Could you please include some bank account informations for the VB6.0 UNICODE controls ? - I never use Credit Cards online, or in other words: How do I pay?
Could you please give a URL or something to the licence agreements, valid for that controls package ?

Thanks Nikolaus


Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 24 Dec 2009 :  08:59:18  Show Profile  Visit s.dav's Homepage  Reply with Quote
>Do you please give me a hint on the right approach on how to manage UNICODE chars in VB code?

You don't need to do nothing special, VB6 strings are internally UNICODE; simply use my library to communicate with Windows in Unicode (for example for copying a string in UNICODE to the clipboard or saving a file with a Unicode name with VB6)

>For making PDU-conversion (something like a MIME-conversion for eMAil attachments, but for sending status sms'es over
> a mobile phone in Chinese characters)

I think you have to study how the SMS protocol works


>Could you please include some bank account informations for the VB6.0 UNICODE controls?
> - I never use Credit Cards online, or in other words: How do I pay?


You can wire money to my bank account only if you are in the European Union; in this case please write me a private email;

By using this link you can pay using your bank account from every location (also from USA)

http://www.hexagora.com/plimus.asp


>Could you please give a URL or something to the licence agreements, valid for that controls package ?

Simply check on your Windows Start menu under the "Unicode Controls" item; it should contain a link to the "license.txt" file or simply check for a file named "license.txt" in the folder where you installed the package.

Let me know for any problem.

Regards, Davide
Go to Top of Page

nikolaus
Practical

Germany
20 Posts

Posted - 27 Dec 2009 :  16:46:13  Show Profile  Visit nikolaus's Homepage  Reply with Quote

> You don't need to do nothing special, VB6 strings are internally UNICODE; simply use my library to communicate with Windows in Unicode (for example for copying a string in UNICODE to the clipboard or saving a file with a Unicode name with VB6)
...
> I think you have to study how the SMS protocol works

No, that PDU-thing I'm setting up for Chinese, I already finished for latin ASCII. I don't need to look into the documentation, it runs since years. It works something like your String-to-Hex library - I guess. Have you coded your String-to-Hex functions without byte arrays? I think, no.

Okay, but anyways - I'll find out some day myself...



> You can wire money to my bank account only if you are in the European Union; in this case please write me a private email;

I am and I will.



> By using this link you can pay using your bank account from every location (also from USA)

As I wrote, I never pay online.



> Simply check on your Windows Start menu under the "Unicode Controls" item; it should contain a link to the "license.txt" file or simply check for a file named "license.txt" in the folder where you installed the package.

Uuups, thanx I will


Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 28 Dec 2009 :  08:52:09  Show Profile  Visit s.dav's Homepage  Reply with Quote
>I don't know a substitution for the string operator '&' ('sStr = sStr1 & sStr2 & sStr3') for joining e.g. three byte arrays.
> I coded a solution myself, but it seems I don't understand the different 2(?) kinds of a byte arrays

You can use the VB6 "join" function; the "split" does the inverse ;-)

I suggest you to convert the byte array in strings then back to byte arrays because the translation is very very simple when using Unicode


Dim a() as byte
dim s as string

s="pippo" 'Unicode string
a=s 'Array of the Unicode String "pippo" (10 bytes)
s=a 'pippo again




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