Access database question

  • Thread starter Thread starter Eddie
  • Start date Start date
E

Eddie

Hi,

Is it possible to create an Access database using ADO.net
and VB.net? Along with encrypting it etc. If so can
someone point me to a site or offer some code to get me
started.


Thanks in advance.

Eddie
 
Hi Eddie,

You cannot direct using ADO.NET but you can create a access database by

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

I hope this helps a little bit?

Cor
 
Back
Top