943,704 Members | Top Members by Rank

Ad:
Nov 14th, 2008
0

Unicode in vb6.0

Expand 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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Rrajal is offline Offline
3 posts
since Nov 2008
Nov 15th, 2008
0

Re: Unicode in vb6.0

that will be easy if you use .NET not vb 6.
Featured Poster
Reputation Points: 665
Solved Threads: 427
Posting Genius
debasisdas is offline Offline
6,406 posts
since Feb 2007
Nov 17th, 2008
0

Re: Unicode in vb6.0

Click to Expand / Collapse  Quote originally posted by debasisdas ...
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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Rrajal is offline Offline
3 posts
since Nov 2008
Nov 18th, 2008
0

Re: Unicode in vb6.0

Hi if anyone know the answer, pl tell me. Its really very important for me..

Thanks
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Rrajal is offline Offline
3 posts
since Nov 2008
Nov 18th, 2008
0

Re: Unicode in vb6.0

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Ddoumeche is offline Offline
1 posts
since Nov 2008
Nov 19th, 2008
0

Re: Unicode in vb6.0

Click to Expand / Collapse  Quote originally posted by Rrajal ...
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...
Reputation Points: 22
Solved Threads: 3
Light Poster
kain_mcbride is offline Offline
25 posts
since Nov 2008
Jan 12th, 2009
0

Re: Unicode in vb6.0

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
nicowest is offline Offline
2 posts
since Jan 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Need to delete a file
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Visual Basic and Unicode





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC