Click here to Skip to main content
Click here to Skip to main content

Enabling Urdu in Visual Basic 6.0

, 24 Aug 2006 CPOL
Rate this:
Please Sign up or sign in to vote.
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.

<formulas /></formulas />

<formulas /></formulas />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)

Share

About the Author

Ubaid R. Baig
Software Developer Softech Worldwide LLC
Pakistan Pakistan
No Biography provided

Comments and Discussions

 
QuestionRequest PinmemberQASKU20-Jun-11 3:08 
QuestionThanks PinmemberQASKU20-Jun-11 3:03 
GeneralGreat Article PinmemberMamoon E Seth24-Aug-06 3:51 

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.

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