Dim Database As String = "C:\Database.mdb"
If File.Exists(Database) Then File.Delete(Database)
Dim cat As New ADOX.Catalog()
cat.Create("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Database)
cat = Nothing
Catch ex As Exception
Sleep(5) ' Code not displayed but does not put the app to sleep just a delay with application.doevents...
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)