Access Database Creation

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have yet to find a way to create an access database from within vb.net. I can work with a database for creating/deleting tables, columns, rows, etc. but have to create a blank database in Access first. Any help would be appreciated. It was easy in previous versions of vb but can't seem to find a way in vb.net.
 
I have yet to find a way to create an access database from within
vb.net. I can work with a database for creating/deleting tables,
columns, rows, etc. but have to create a blank database in Access
first. Any help would be appreciated. It was easy in previous
versions of vb but can't seem to find a way in vb.net.


Not exactly the ideal solution but...

http://support.microsoft.com/?id=317867

A quick search of google would of brought this up ; )
 
Also don't forget the quick and dirty filecopy of a prebuilt Access mdb
file.

Greg
 
Here's a code generator that creates all the VB.Net logic needed to create
an Access database on the fly. You need to have a reference to ADOX in your
project for it to be successful. There is no native .Net capability to do
this, otherwise.

http://www.smithvoice.com/dbcopier.aspx

Have fun!.


--
------------------------------------------------------------------------
George Shubin Custom Software Development
dX Software Systems Database Applications
Ph: 503-981-6806 Fax: 503-982-0120
www.dxonline.com (e-mail address removed)
------------------------------------------------------------------------



Dennis said:
I have yet to find a way to create an access database from within vb.net.
I can work with a database for creating/deleting tables, columns, rows, etc.
but have to create a blank database in Access first. Any help would be
appreciated. It was easy in previous versions of vb but can't seem to find
a way in vb.net.
 
Thanks for help. I'm glad I wasn't imaging things in that M'soft in their infinite wisdom didn't include a simple "CreateDataBase" method on one of the DB related classes like previous versions of Visual Basic.
 
Back
Top