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.
<shapetype id="_x0000_t75" coordsize="21600,21600" o:preferrelative="t" o:spt="75" filled="f" stroked="f" path=" m@4@5 l@4@11@9@11@9@5 xe"><stroke joinstyle="miter"><formulas><f eqn="if lineDrawn pixelLineWidth 0 "><f eqn="sum @0 1 0 "><f eqn="sum 0 0 @1 "><f eqn="prod @2 1 2 "><f eqn="prod @3 21600 pixelWidth "><f eqn="prod @3 21600 pixelHeight "><f eqn="sum @0 0 1 "><f eqn="prod @6 1 2 "><f eqn="prod @7 21600 pixelWidth "><f eqn="sum @8 21600 0 "><f eqn="prod @7 21600 pixelHeight "><f eqn="sum @10 21600 0 "><path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"><lock aspectratio="t" v:ext="edit"><shape id="_x0000_s1026" style="MARGIN-TOP: 31.4pt; Z-INDEX: 1; LEFT: 0px; MARGIN-LEFT: 45pt; WIDTH: 307.5pt; POSITION: absolute; HEIGHT: 271.5pt; TEXT-ALIGN: left" coordsize="21600,21600" type="#_x0000_t75">
<shapetype id="_x0000_t75" coordsize="21600,21600" o:preferrelative="t" o:spt="75" filled="f" stroked="f" path="m@4@5l@4@11@9@11@9@5xe"><stroke joinstyle="miter"><formulas><f eqn="if lineDrawn pixelLineWidth 0"><f eqn="sum @0 1 0"><f eqn="sum 0 0 @1"><f eqn="prod @2 1 2"><f eqn="prod @3 21600 pixelWidth"><f eqn="prod @3 21600 pixelHeight"><f eqn="sum @0 0 1"><f eqn="prod @6 1 2"><f eqn="prod @7 21600 pixelWidth"><f eqn="sum @8 21600 0"><f eqn="prod @7 21600 pixelHeight"><f eqn="sum @10 21600 0"><path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"><lock aspectratio="t" v:ext="edit"><shape id="_x0000_s1026" style="MARGIN-TOP: 31.4pt; Z-INDEX: 1; MARGIN-LEFT: 45pt; WIDTH: 307.5pt; POSITION: absolute; HEIGHT: 271.5pt" type="#_x0000_t75"><imagedata src="file:///F:\DOCUME~1\Home\LOCALS~1\Temp\msohtml1\01\clip_image001.png">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.
<shape id="_x0000_s1027" style="MARGIN-TOP: 12.05pt; Z-INDEX: 2; MARGIN-LEFT: 139.5pt; WIDTH: 37.5pt; POSITION: absolute; HEIGHT: 186.75pt" coordsize="21600,21600" type="#_x0000_t75"><imagedata src="/KB/work/UrduVB6/files/image003.png">
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.
<shape id="_x0000_s1028" style="MARGIN-TOP: 11.3pt; Z-INDEX: 3; MARGIN-LEFT: 127.5pt; WIDTH: 159pt; POSITION: absolute; HEIGHT: 138.75pt" coordsize="21600,21600" type="#_x0000_t75"><imagedata src="/KB/work/UrduVB6/files/image005.png">
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:
<shape id="_x0000_s1029" style="MARGIN-TOP: 22.2pt; Z-INDEX: 4; LEFT: 0px; MARGIN-LEFT: 131.25pt; WIDTH: 162pt; POSITION: absolute; HEIGHT: 137.25pt; TEXT-ALIGN: left" coordsize="21600,21600" type="#_x0000_t75"><imagedata src="/KB/work/UrduVB6/files/image007.png">
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.