Hello,
Can anyone give me example on VB to convert character(s) into DBCS?
Thanks
With Best Wishes
Bye!
Printable View
Hello,
Can anyone give me example on VB to convert character(s) into DBCS?
Thanks
With Best Wishes
Bye!
mmm, what is DBCS (Data-Base????)
DBCS stands for Double-Byte Character Set. You can convert to
this format with the StrConv () function... ex:
myDBCSString = StrConv (myString, vbWide)
-CC
Whoops, sum1 feels stupid...
:) :rolleyes: :confused: :confused: :eek:
:)
Thanks for ur help. But it's not working. It gave me error message "Invalid procedure call or argument"
If some one has worked on chinese, japanese, hindi fonts on VB5/6 , he can better understand my problem. In DBCS, a character is made by combining 2 or 3 different bytes each having different ASCII code.
But I don't have the exact function / logic for that.
(BTW, if someone has "Internationalization with Visual Basic", please checkout the answer in that. It'll take me some time to arrange that book here.")
Thanks
With Best Wishes
Bye!
Hi, well I can't say I have dealt with those languages before.
Just out of curiosity are you sure you are dealing with DBCS and
not Unicode (StrConv (myString, vbUnicode))?
Yes, I'm sure about that. It's solution is ONLY DBCS.
Thanks
With Best Wishes
Bye!
Well, I am still farily certain that StrConv () is the way to go
for you. Although I can't give you an example specific to your
language (I am in SBCS environments), this link:
http://msdn.microsoft.com/library/de...nFunctions.asp
might be of assistance.
-CC
LCMAPString function can convert ANSI to DBCS with LCMAP_FULLWIDTH parameter. Anyone can give its example in VB?
Thanks
With Best Wishes
Bye!