Click to See Complete Forum and Search --> : Japanese VB


comart
March 15th, 2001, 12:02 PM
Can the code from a Japanese versio VB 6 program be cut and pasted into an Enlish version of VB6?

phil m
March 15th, 2001, 05:34 PM
Hi

I do it all the time. Haven't had a problem yet. YET!

Phil

comart
March 16th, 2001, 12:02 PM
What works? Copying from Japanese to English or English to Japanese or both? Do you do database access as well in both languages?

phil m
March 16th, 2001, 06:19 PM
HI

I'm a Briton living in Japan. I use an American computer/VB at work and Japanese windows/VB at home.

I have databases and all mannor of other things. The only thing I cannot do - as I'm sure you would understand - is enter Japanese kana or kanji at home and expect it to appear on my English version windows - obviously my English windows does not understand the script and so just produces garbage - stars, bars, blocks and stuff.

Your question was whether you could use the programming done on one system and use it on another - you can. However, you are still limited to the limitations of each system. If you have VB6 on one and VB5 on the other then it's a similar problem. The computer cannot do what the computer cannot do. If the commands are valid however, then it works just fine.

HOWEVER!!!!!

Be careful with dates.

a$ = date
b$ = right(a$,2)

It is possible that one computer will show the date one way and the other computer shows dates the other way. My American computer with American windows has been set to English English standard - then go shove that program on a Japanese computer - how does the date get displayed? Well, basically, you have to test it to make sure it works the way you expect.

Also, if you have American VB and Japanese IE then you may well experience character problems in the window properties of VB while programming. The script is almost unreadable. This is a little different to your question so I'm just adding it for your information.

I hope this answers your question. I do want to make sure you understand however, I HAVE NOT HAD ANY PROBLEM YET YET YET YET. I have been doing this for a year - using both systems. I am sure that M/Soft will take no responsibilities for anything that goes pear shaped.

Good Luck

Phil