|
-
Sep 28th, 2002, 03:16 AM
#1
Thread Starter
Member
Conerting to DBCS
Hello,
Can anyone give me example on VB to convert character(s) into DBCS?
Thanks
With Best Wishes
Bye!
-
Sep 29th, 2002, 05:01 PM
#2
Hyperactive Member
More info??
mmm, what is DBCS (Data-Base????)
Visual Basic 6.0 Enterprise
Visual C++ 6.0 Professional
Wak 
-
Sep 29th, 2002, 06:09 PM
#3
Addicted Member
DBCS stands for Double-Byte Character Set. You can convert to
this format with the StrConv () function... ex:
myDBCSString = StrConv (myString, vbWide)
-CC
-
Sep 29th, 2002, 06:44 PM
#4
Hyperactive Member
-
Sep 29th, 2002, 06:47 PM
#5
Addicted Member
Last edited by Crunchy Cat; Sep 29th, 2002 at 07:51 PM.
-
Sep 29th, 2002, 11:35 PM
#6
Thread Starter
Member
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!
-
Sep 30th, 2002, 01:09 AM
#7
Addicted Member
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))?
-
Sep 30th, 2002, 01:47 AM
#8
Thread Starter
Member
Yes, I'm sure about that. It's solution is ONLY DBCS.
Thanks
With Best Wishes
Bye!
-
Sep 30th, 2002, 02:01 AM
#9
Addicted Member
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
-
Sep 30th, 2002, 03:55 AM
#10
Thread Starter
Member
LCMapString
LCMAPString function can convert ANSI to DBCS with LCMAP_FULLWIDTH parameter. Anyone can give its example in VB?
Thanks
With Best Wishes
Bye!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|