Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact


Database help


Database help

Author
Message
sony112
sony112
Forum God
Forum God (335 reputation)Forum God (335 reputation)Forum God (335 reputation)Forum God (335 reputation)Forum God (335 reputation)Forum God (335 reputation)Forum God (335 reputation)Forum God (335 reputation)Forum God (335 reputation)

Group: Forum Members
Posts: 1, Visits: 8
iv just done a cricket scoring system but the output is to a txt file - i want to put some of the details to a database , meaning remove the tx file and have a db instead.

the programm is fully functional but needs a database - can any1 help me - i tried odbc and sql but doesnt seem to work the way i want it to . -i can send my exe file or any of the program files ..

any more details needed, i can post .

thanks

Regards



Sony112

Keithuk
Keithuk
Forum God
Forum God (298K reputation)

Group: Moderators
Posts: 1.9K, Visits: 5.5K
Welcome to A1vbcode sony.

sony112 (4/6/2009)


i tried odbc and sql but doesnt seem to work the way i want it to . -i can send my exe file or any of the program files ..

Have you tried ADO or DAO? Either of them should do the job. 

Please don't bother posting exe's because no one will use them, we like to see the code so we can see whats happening or not happening. Wink

Keith

I've been programming with VB for 17 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.

vb5prgrmr
vb5prgrmr
Forum God
Forum God (40K reputation)Forum God (40K reputation)Forum God (40K reputation)Forum God (40K reputation)Forum God (40K reputation)Forum God (40K reputation)Forum God (40K reputation)Forum God (40K reputation)Forum God (40K reputation)

Group: Forum Members
Posts: 167, Visits: 786
Create you database in access. Then use the dataform wizard to make you an example on how to connect to it.

Start new standard exe project.

In VB's IDE, goto VB's menu Add-Ins>Add In Manager.

Select/highlight VB 6 Data Form Wizard.

In lower right corner where frame has caption of "Load Behavior" put check in box next to Loaded/Unloaded.

Click OK

GoTo Add-Ins>Data Form Wizard.

Follow instruction and when it comes to form type and the options of ADODC, Code, or Class, I would suggest that you run this wizard as many times as needed to select each form type and each option so that you have an example from every possible combination.

Save this project for reference.

Good Luck

GO


Similar Topics


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....

















A1VBCode Forums


Search