Unicode in vb6.0

Reply

Join Date: Nov 2008
Posts: 3
Reputation: Rrajal is an unknown quantity at this point 
Solved Threads: 0
Rrajal Rrajal is offline Offline
Newbie Poster

Unicode in vb6.0

 
0
  #1
Nov 14th, 2008
Hi there..
I am new member here and having a problem.
I am working with a software solution co. and we want our software to support "Internationalization". means want to provide multilingual support.

We are using vb6.0 as development and all the diff APIs for our working.....
can anyone tell me how I can provide Unicode (UTF - 8) support to my project?
I can not develop it from scratch (no chance). do anyone know any 3rd party tool or API that will help me keep the UTF - 8 (stop vb to convert it into ANSI.. or something like that)...
and give me say arabic language in my object.

Pl help me I am in real trouble and on the deadline...

Thanks in advance.
-Rrajal
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 2,089
Reputation: debasisdas will become famous soon enough debasisdas will become famous soon enough 
Solved Threads: 125
debasisdas's Avatar
debasisdas debasisdas is offline Offline
Postaholic

Re: Unicode in vb6.0

 
0
  #2
Nov 15th, 2008
that will be easy if you use .NET not vb 6.
Share your Knowledge.
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 3
Reputation: Rrajal is an unknown quantity at this point 
Solved Threads: 0
Rrajal Rrajal is offline Offline
Newbie Poster

Re: Unicode in vb6.0

 
0
  #3
Nov 17th, 2008
Originally Posted by debasisdas View Post
that will be easy if you use .NET not vb 6.
Hi Debasis.
Thanks for reply, but I as I mentioned, my project is not entirely developed by me and I don't stand a chance to convert the whole project in .Net. its too big to convert for me.

Pl. let me know if any way I can make it enabled with all diff languages (with all the lot of APIs within).

There is another issue I would like to ask is if you know we can have if else in vc for declaring api as A (ANSI) or W (Wide) and its included in header class only, compiler will select it by its own that which API to use.

like.

#ifdef UNICODE
#define OpenSCManager OpenSCManagerW
#else
#define OpenSCManager OpenSCManagerA
#endif // !UNICODE

is there any way in vb to find the same? so I can put switches and let my compiler decide which API to chose at which point?

ps. the above declaration is in header file in vc, so here we need not to worry about.

Thanks... waiting for your reply
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 3
Reputation: Rrajal is an unknown quantity at this point 
Solved Threads: 0
Rrajal Rrajal is offline Offline
Newbie Poster

Re: Unicode in vb6.0

 
0
  #4
Nov 18th, 2008
Hi if anyone know the answer, pl tell me. Its really very important for me..

Thanks
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 1
Reputation: Ddoumeche is an unknown quantity at this point 
Solved Threads: 0
Ddoumeche Ddoumeche is offline Offline
Newbie Poster

Re: Unicode in vb6.0

 
0
  #5
Nov 18th, 2008
You may use the Forms 20 (FM20.dll) whose controls supports internationalisation

See :
http://www.aksharamala.com/Articles/...5/Default.aspx
http://discuss.fogcreek.com/joelonso...82&ixReplies=6
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 24
Reputation: kain_mcbride is an unknown quantity at this point 
Solved Threads: 3
kain_mcbride's Avatar
kain_mcbride kain_mcbride is offline Offline
Newbie Poster

Re: Unicode in vb6.0

 
0
  #6
Nov 19th, 2008
Originally Posted by Rrajal View Post
Hi there..
I am new member here and having a problem.
I am working with a software solution co. and we want our software to support "Internationalization". means want to provide multilingual support.

We are using vb6.0 as development and all the diff APIs for our working.....
can anyone tell me how I can provide Unicode (UTF - 8) support to my project?
I can not develop it from scratch (no chance). do anyone know any 3rd party tool or API that will help me keep the UTF - 8 (stop vb to convert it into ANSI.. or something like that)...
and give me say arabic language in my object.

Pl help me I am in real trouble and on the deadline...

Thanks in advance.
-Rrajal
try using a resource file, you can specify different string sets for different languages... i've not done this before though; but when working with resource files that's one of the primary suggested reasons for using them...

Resouce Files can be added to a VB6 project with the add-in manager, just go through the list until you find it. once there you can add resource files to your project. a resource file can contain pictures, strings, or data... data can be anything from movies to garbage files...

as for unicode... have you looked at StrConv?

StrConv(String, Conversion as vbStrConv, [LocaleID as Long])

hope this helps...
... there is no bug that enough coffee cannot fix...
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 2
Reputation: nicowest is an unknown quantity at this point 
Solved Threads: 0
nicowest nicowest is offline Offline
Newbie Poster

Re: Unicode in vb6.0

 
0
  #7
Jan 12th, 2009
If you want to make it easy to support UniCode in Visual Basic then take a look at the UniToolbox control suite which replaces all the common VB controls with UniCode aware versions:

http://www.iconico.com/UniToolbox
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC