1. Open a new Visual Basic .NET Windows application.2. In Solution Explorer, right click the References node, and then click Add References.3. In the Add References dialog box, click COM tab, click Microsoft ADO Ext. 2.7 for DDL and Security, click Select to add it to the Selected Components section, and then click OK.4. Make sure to add reference to ADOX class library namespace (Imports ADOX).5. Change the path to the new .mdb file as appropriate.6. Make sure the folder provided in the path exists. If path name is not specified, the database will be created in your application folder.7. Create a Button control named btnCreateDatabase on the form and copy the following code in the click event of the button:

Try 'Create NewDB Database. 'Change the path to the new .mdb file as appropriate. Make sure the folder 'provided in the path exists. If you path name is not specified, the 'database will be created in your application folder. cat.Create("Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=C:\NewDB.mdb")