|
-
August 4th, 2001, 04:41 AM
#1
Visual Basic
1) How to create a new database on a remote server (eg. To create a new Access
database VB calls CreateDatabase()). Likewise we require a code to create a
new ODBC like SQL or Oracle Database using ADOs or RDOs ?
2) How to initialize this database through Package and Deployment wizard ?
-
August 4th, 2001, 11:36 AM
#2
Re: Visual Basic
I don't know if this is can help you but you could create an Access database as follows:
Dim appAccess as Access.Application
private Sub Command1_Click()
set appAccess = new Access.Application
appAccess.NewCurrentDatabase "C:\WINDOWS\Desktop\MyDB.mdb"
set appAccess = nothing
End Sub
You will need to add Reference to "Microsoft Access 9.0 Object Library" (ACCESS 2000)
RF
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
|