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.
Make sure that you have new controls in ToolBox in the lower left corner.
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.
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: