|
-
Jan 25th, 2000, 03:42 PM
#1
How do I get my game program to automatically set any workstation's ODBC 32-bit to use the game's MS Access database as a datasource? I wanted to let some friends at work play my multi-choice trivia game, but I don't want to have to go to each PC & manually set the ODBC on the control panel to the game's database. Can ADO do this?
-
Jan 25th, 2000, 06:11 PM
#2
Hyperactive Member
Just go to Project -> references.
Check ms DAO 3.6 Object Library ...
No you're all set up.
[CODE]
Dim db As Database
Dim rs As Recordset
Set db = DBEngine.OpenDatabase(App.Path & "\<your.mdb>")
Set rs = db.OpenRecordset(<Use some SQL here> )
[\CODE]
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
|