Home

Basics
Overview
Menus
Toolbar
Tree
Code Editor
Search Frame
Change History

Intermediate
Add/Delete
Keywords
Search Lists
Date/Time
Shortcut Keys
Custom Icons
HTML Export
Hyperlinks
Drag & Drop
Bookmarks
Macros
Printing
Fonts
Hex View
Easter Eggs

Advanced
Revision Control
Object Storage
Language Def
Remote Folders
Server Sync
Online Search
Import Code
gbFlashLib

Forums
Announcements
Questions
Suggestions

Personal
Webcam
Biography
Contact Me

GBIC >> gbWare >> gbCodeLib >> Remote Folders
gbCodeLib - Remote Folders

The gbCodeLib database filename is 'gbcodelib.txt', which is a standard text file kept in the folder where gbCodeLib was installed. The snippet database in the installation folder is called the local database.

gbCodeLib can save a copy of the local database to one or more alternate folders. At any one time, an alternate folder can be designated as the current 'remote' folder. gbCodeLib provides a one-button method for switching between the local database and the database in the current remote folder.

The three menu functions for managing local and remote databases are:

  • Select Remote Folder
    Displays a dialog from which a remote folder may be selected. Use this first to select the location of an existing remote folder, or to identify the folder where a remote database will be placed.

  • Copy Local Source File to Remote Folder
    Once the remote database folder has been selected, use this command to copy the currently selected database (not necessarily the local database) to the selected folder. Any number of folders may be used to place remote databases, but since all gbCodeLib databases use the file name "gbcodelib.txt", only one version of the database may be placed in any particular folder.

    This command also copies the object and repository files, if they exist, to the remote folder.

  • Use Remote Database
    Toggles between use of the remote and local database. If the currently selected database has unchanged changes, the user will be prompted to save the changes before switching to the new database.

On startup, gbCodeLib will display whichever database, local or remote, was being displayed at the time the last session was closed.

A typical use of the remote folder is to place a snippet database into a folder for access by multiple users.