Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Public Function CreateDatabase(DBPath As String) As Boolean
Dim DBPath As String
DBPath = InputBox("Please type the desired path", "DBPath")
'*****************************
'PURPOSE: Creates Access 2002 Database Using ADOX
'PARAMETERS: DBPath: full path of database to create
'RETURNS: True if sucessful, false otherwise
'REQUIRES: Installation of and reference to ADOX
'(Microsoft ADO Ext. 2.1 for DDL and Security
'If you don't have this in your references list,
'go to [URL unfurl="true"]http://www.microsoft.com/data[/URL] and download
'MDAC
'********************************************
On Error Resume Next
Dim oCatalog As New ADOX.Catalog
oCatalog.Create _
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & DBPath
CreateDatabase = Err.Number = 0
End Function