RSS Forums RSS

Unicode in vb6.0

Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums
Reply
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

  #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
AddThis Social Bookmark Button
Reply With Quote  
Posts: 1,858
Reputation: debasisdas is on a distinguished road 
Solved Threads: 113
debasisdas's Avatar
debasisdas debasisdas is offline Offline
Posting Virtuoso

Re: Unicode in vb6.0

  #2  
Nov 15th, 2008
that will be easy if you use .NET not vb 6.
Share your Knowledge.
Reply With Quote  
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

  #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  
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

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

Thanks
Reply With Quote  
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

  #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  
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

  #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  
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

  #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  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum
Views: 1401 | Replies: 6 | Currently Viewing: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 10:31 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC