Click here to Skip to main content
Licence CPOL
First Posted 23 Aug 2006
Views 23,743
Bookmarked 10 times

Enabling Urdu in Visual Basic 6.0

By | 23 Aug 2006 | Article
This will help beginners to enable Urdu in VB 6.

Introduction

My name is Ubaid-ur-Rehman Baig. I am a student of Sheikh Zayed Islamic Centre, University Of Karachi.This article helps beginners to enable Urdu support in Visual Basic 6.0. If you have installed Urdu support on your computer, create a database by entering Urdu data in it e.g. this time enter the data such as "Noman" etc in URDU e.g. "نعمان" and "ثابت" etc. You must have a Unicode Font installed in your computer. If not so, you may download it from the Internet. Normally "Times New Roman" and "Tahoma" have the ability to show Urdu. You should have Office 2000 or later version of Microsoft Access for Urdu writing.

Note: For further help on database creation please read my article on database creation from this website.

At this point Open Microsoft Visual Basic 6.0 and do the following steps.

From Project Components select Microsoft Forms 2.0 Object Library. Click OK.

Sample screenshot

Make sure that you have new controls in ToolBox in the lower left corner.

Sample screenshot

Now insert the "Microsoft ADODC" and link it to the Urdu database that you have created by the same previous process. Now put four textboxes on your form like this. You must have a Unicode Font installed in your computer. If not so, you may download it from the internet. Normally "Times New Roman" and "Tahoma" have the ability to show Urdu. Change the "Font" property of each textbox to either of these Fonts.

Sample screenshot

Set the "Data Source" property of each text box to "ADODC1" which you already know. After this, change the "Data Field" property of each textbox one by one. Save your work and run the program. It should look like this:

Sample screenshot

License

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

About the Author

Ubaid R. Baig

Software Developer
Softech Worldwide LLC
Pakistan Pakistan

Member



Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
QuestionRequest PinmemberQASKU2:08 20 Jun '11  
QuestionThanks PinmemberQASKU2:03 20 Jun '11  
GeneralGreat Article PinmemberMamoon E Seth2:51 24 Aug '06  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web01 | 2.5.120517.1 | Last Updated 24 Aug 2006
Article Copyright 2006 by Ubaid R. Baig
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid