|
Thread: sql
-
Jun 11th, 2007, 05:36 PM
#1
Thread Starter
New Member
sql
i have vb6. and i learned all i really wanna know about programming sql from http://www.w3schools.com/sql/default.asp . but...i cant figure out hwo im supposed to use it. i wanna use it with vb...but i have no idea where to start, i looked all around for tutorials, but i couldn't find any. please help, thanks
-
Jun 12th, 2007, 12:58 AM
#2
Re: sql
There is a mySQL class for Vb6
-
Jun 12th, 2007, 01:16 AM
#3
Re: sql
Which is your backend? MSAccess? MSSQL?
Start a VB Project, add a reference to ADO (Microsoft Activex Data Objects 2.x), then you need to create a Connection Object, this needs a connection string that depends on your Backend. Search the forum using ADO as keyword.
-
Jun 12th, 2007, 03:32 AM
#4
Fanatic Member
Re: sql
There is a feast of examples here -http://www.vb-helper.com/index_database.html#ado
Do not use -
VB's Data Control
Bound controls
VB's Data View window
VB's Data Environment
VB's Data Reports
VB's Data Grid
Many of the examples in the link follow those rules.
-
Jun 12th, 2007, 06:10 AM
#5
Re: sql
 Originally Posted by Hell-Lord
There is a mySQL class for Vb6 
There is? 
Where?
-
Jun 12th, 2007, 10:07 AM
#6
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|