Working with Visual Component Manager Repository Databases
A local repository database is created when you install Visual Component Manager. However, you may wish to create new special-purpose databases, or shared databases that allow you to publish your components and make them available to other developers on your network.
To create a new repository database
-
Open the shortcut menu anywhere in the Visual Component Manager Explorer pane, point to Repository, and then click Create New.
-
In the Select Database Type dialog box, click Microsoft Access Database (MDB) or SQL Server Database, and then click OK.
-
Depending on which option you selected in the preceding step, do the following:
-
If you chose to create a Microsoft Access type database, the Create Access Type Database dialog box appears. Choose a Directory and File Name for the new database, and then click Save.
-
If you chose Microsoft® SQL Server™, the Select Data Source dialog box appears, prompting you to specify the DSN Name of the SQL Server database in which to create the new repository tables. Click OK.
-
Visual Component Manager creates the necessary repository database tables and adds the new database to the Explorer pane.
To create a shared SQL Server database you must 1) have SQL Server installed on your computer, and 2) have an existing database in which to create the repository tables. If you want the database to be sharable, you must be logged in as System Administrator when you create the database. You can create a shared Access type database simply by creating it on a network server to which other developers have access.
To copy an item from one database to another
-
Locate and select the item you want to add.
-
Click it and drag it to the location you want to add it to.