all groups > vb.net > january 2004 >
You're in the

vb.net

group:

Create an Access Database File


Create an Access Database File The Genie
1/17/2004 8:33:03 PM
vb.net:
Can anyone please tell me how I can create an Access Database in a specific
directory (not memory), presumably by using oledb.

Regards

Ian


Re: Create an Access Database File hirf-spam-me-here NO[at]SPAM gmx.at
1/17/2004 11:12:56 PM
* "The Genie" <NoSpam.the-genie@bigfoot.com> scripsit:
[quoted text, click to view]

This cannot be done with OLEDB, you will have to use ADOX.

--
Herfried K. Wagner [MVP]
Re: Create an Access Database File Cor
1/18/2004 9:29:36 AM
Hi Genie,

set a reference to COM adox ext 2.x for dll and security
\\\
Dim catNewDB As New ADOX.Catalog
catNewDB.Create("Provider=Microsoft.Jet.OLEDB.4.0;" & "Data
Source=C:\db1.mdb")
///

I hope this helps a little bit?

Cor

[quoted text, click to view]

Re: Create an Access Database File The Genie
1/18/2004 9:33:03 AM
Cor,
Thanks for the help.

Regards

Ian

[quoted text, click to view]

AddThis Social Bookmark Button