Visual Basic Codes
ActiveX
Miscellaneous
Applications
Code Snippets
Common Dialogs
Special Effects
Database Stuff
Date Time
Files Drives
Forms
Graphics Games
Internet Stuff
Multimedia
Other
Strings
Windows
Visual Basic > Code Snippets sample source codes
Create a database
Create a database 'set up a reference to the Microsoft DAO 3.5 Object library Dim ws As Workspace Dim db As Database Set ws = DBEngine.Workspaces(0) 'substitute Password with the desired password Set db = ws.CreateDatabase("test.mdb", dbLangGeneral & ";pwd=Password")
Privacy Policy
|
Link to Us
|
Links