|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Using databases in Visual Basic 6
Hey to all,
I am working on a project for a class but i do not know how to implement a database with my VB 6 program...Could Anybody help me out with this please. ![]() |
|
#2
|
||||
|
||||
|
Well, maybe. Tell us about it... What do you have to do with the database?
__________________
Fisherman "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." - A.Einstein |
|
#3
|
||||
|
||||
|
if this is your first foray into the world of Data Access with VB, and if you're using MSAccess, then I would recommend going to Project, Components in Visual basic, and adding the "ADODC Control". It gives you the basic functionality of interfacing with databases without having to learn all of the guts. Once you've added it, double click its icon on the Toolbox, and set the properties (just search for ADODC properties on the web). If you need more help, just yell.
|
|
#4
|
|||
|
|||
|
What if I am not using Access can I still call an ADODC control?
|
|
#5
|
||||
|
||||
|
ADODC will work with other databases - yes. It has built in functionality to work within most OLEDB providers including Excel, SQL Server, and Oracle. I must tell you, it is definitely not as flexible as coding connection and query structures by hand, but for basic, and especially beginner, functionality, it does fine.
|
|
#6
|
|||
|
|||
|
If u use a small database on windows platform,i recommend u to use MS access.It's a easy way to complete your project.
A tutorial site about vb&access: http://www.functionx.com/vbaccess/index.htm |
|
#7
|
||||
|
||||
|
I agree. If you simply need a small database which is not reliant on a large volume of transactions, then Access is the way to go... just make sure that you normalize that database as much as you can so that it will be portable should you need to move it later. However, if you need a "workhorse", then Access is not for you.
|
|
#8
|
|||
|
|||
|
Is their a way to port my access database that I create int c++ or VB later?
|
|
#9
|
||||
|
||||
|
I'm sorry.. I don't think I understand your question.
|
|
#10
|
|||
|
|||
|
clowns119!I think u can do it if u access the MS Access by using odbc..
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > Using databases in Visual Basic 6 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|