Create Access Database at run time

Category:
C#, VB.NET, ASP.NET
Type:
Snippets
Difficulty:
Beginning
Author:
Anonymous

Version Compatibility: Visual Basic 6, Visual Basic.NET

More information:
To make this code run, select References from the Project Menu, choose the COM tab, and add a reference to Microsoft ADO Ext. 2.7 for DDL and Security; then you can use this function.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: