943,096 Members | Top Members by Rank

Ad:
Jun 28th, 2009
0

Newbie ask how to create a form

Expand Post »
I has a question i create a form using vb but i dun know how to write the code for the it. So all the data i fill in the form will show it the MS SQL. So what to write the code and anyone have a good tutorial for me to study??

My form is like this

Name:
Age:
Address:
Badge No:

Then the data will save inside the MS SQL.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Junior Poster
gingank is offline Offline
108 posts
since Jun 2009
Jun 29th, 2009
0

Re: Newbie ask how to create a form

Search for ADO Turorial VB6 on web or site. Also search this site for my handle (vb5prgrmr) and Data Form Wizard.

Good Luck
Reputation Points: 156
Solved Threads: 296
Posting Virtuoso
vb5prgrmr is offline Offline
1,670 posts
since Mar 2009
Jun 29th, 2009
0

Re: Newbie ask how to create a form

Better yet...

Start new standard exe project
Goto vb's ide menu Add-Ins > select add-in manager.
Look for VB 6 Data Form Wizard, highlight > Look at frame in bottom right corner with caption Load Behavior > select Loaded/Unloaded so check mark displays in check box. > OK
VB IDE Menu Add-Ins > Data Form Wizard
Run through wizard selecting your access database via browse button on screen 3.
On next form enter the name of the form you want, the style, and the type. I would suggest to start off with the ADO Code unless this is the first time you have ever played with VB.

Actually I would suggest that you use each option with each type and save that as a test project for reference. Then you will have it for reference.

Good Luck
Reputation Points: 156
Solved Threads: 296
Posting Virtuoso
vb5prgrmr is offline Offline
1,670 posts
since Mar 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: VB with MS SQL
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: USB Printing





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC