how to generate automatically a form with VB/SQL server

I want to make an app such that :

I have a table in SQL Server
and in VB6 I want to make a proram with codes how to when i run it the prog will automatically read the structure of SQL table and then give me a similar  form  to input data into.

How to create a FORM object with code and then add textbox ,commandbutton onto that form with codes.

Thank you very much in advance
Who is Participating?
adityauConnect With a Mentor Commented:
There is a wizard for this. You goto Add-In menu, then add Data Form Wizard from the list. Select that wizard and follow the instructions. This will automatically create the form. You may use the same sort of code to create your own forms.
All Courses

From novice to tech pro — start learning today.