I have seen some tutorials but everything that I am trying is not working.
I want a simple project with just one textbox (where the name of the database goes) and a button that creates theAccess
DB and save it in c:\
.
May you help me ? :)
I have seen some tutorials but everything that I am trying is not working. I want a simple project with just one textbox (where the name of the database goes) and a button that creates the May you help me ? :) |
|||||||||
|
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.
To create a new, empty Access database, all you need to do is to add a COM reference to "Microsoft ADO Ext. 2.8 for DDL and Security" to your project, and then use code like the following:
If you want to go "old school" and create an
...but be warned that this will fail if your application is running as 64-bit (because there is no 64-bit version of the Jet database engine). |
|||
|
Programmatically .. Create MDB in VB Net, use this function
sourceOr In easy way ..
dont forger about target path .. |
||||
|
You will need catlogclass for this as follows:
Next Step Is To Creat Table:
Release The COM objects with following code:
Hope Its Helpful. |
|||||||||
|