Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
Hi...
This time I am trying something different.Developing one application using VB6 and Sql Server where accepting user details on form. But I want to save them in marathi as well as in english depending on user specification. Further this information will be used in application and reports will be generated.
 
1) I tried it using font i.e. "shivaji01" but it only showing it in marathi format while typing but not saving in Marathi, so problem is while displaying saved records to user it should be in Marathi.
 

2) Secondly I used Google Input tools. It was working using VB.NET but in case of VB6, I found that VB6 texbox doesn't support Unicode and shows question mark for every character.
 
Any of these or another solution will do..
 
Hope you got my problem.
 
Thanks In advance. Smile | :)
Posted 19-Mar-13 0:56am
Comments
CHill60 at 19-Mar-13 6:23am
   
You've essentially answered your own question - VB6 textbox doesn't support unicode. You could look at using a RichTextBox but I strongly, strongly, strongly recommend that you do not use VB6 for this project unless your boss absolutely insists upon it. You have posted other questions on VB.NET and this would be the better way forward for this project - especially as you will probably find many examples via google
Bhishma Anil Kajaria at 7-Aug-13 6:16am
   
Hello Dhananjay,
 
I think you can use convertors and convert the project to vb.net that wont cost you much rather, in turn solve your problem...
 
:)
Maciej Los at 19-Mar-13 16:59pm
   
Good point, my virtual 5!
Dhananjay Borde at 16-Oct-13 12:02pm
   
:)
Dhananjay Borde at 20-Mar-13 2:08am
   
Thanks for your reply,
but I have to it in VB6 only because software is already developed, its for maintenance.
Can you tell me solution for first way i.e.using fonts like shivaji01 or any other font.
Which will work as for both input and output.
Prashant Patil at 13-Nov-13 12:03pm
   
धनंजय Solution मिळाले का गुगल मराठी इनपुट करिता पण फक्त vb6 मध्ये मिळाल असेल तर मला सांग मी तेच शोधात आहे धन्यवाद !
Prasad Khandekar at 19-Mar-13 9:01am
   
Hello Dhananjay,
 
In fact VB6 forms engine is not Unicode aware. How about trying a third party Unicode aware custom control library such as one found here (http://www.hexagora.com/en_dw_unictrl.asp).
Dhananjay Borde at 25-Dec-13 9:52am
   
No Prashant,I haven't check that last solution posted by Raj Parshar
Dhananjay Borde at 20-Mar-13 2:09am
   
Thanks for your reply,
Yes its nice solution but its too costly for us. :(
 
Can you tell me solution for first way i.e.using fonts like shivaji01 or any other font.
Which will work as for both input and output.
Prasad Khandekar at 20-Mar-13 2:34am
   
Hello Dhananjay,
 
Won't be possible, the VB6 Forms engine as well as the built-in controls are not unicode aware. There are some Win32 API work arounds available (Google), I wouldn't recommend going down that path.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

No way to do it in vb6 which I want so, I left it.
Thanks to all for your reply. Smile | :)
  Permalink  
Comments
Member 10420811 at 3-Dec-13 1:35am
   
how to convert marathi script to english in vb/vb.net
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

what i suggest is do not try to save data in marathi format as this is not your requirement. According to your requirement you need to display data in marathi right.
 
so use the same font shivaji01 in your reports to display the data or anwhere wherever you need to display the data and your problem gets sorted out.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 515
1 Maciej Los 340
2 Richard MacCutchan 265
3 BillWoodruff 225
4 Mathew Soji 155
0 OriginalGriff 8,804
1 Sergey Alexandrovich Kryukov 7,457
2 DamithSL 5,689
3 Maciej Los 5,279
4 Manas Bhardwaj 4,986


Advertise | Privacy | Mobile
Web04 | 2.8.1411028.1 | Last Updated 16 Oct 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100