VDF-GUIdance logo



  Visual DataFlex Logo
  

Shared knowledge leads to accumulated knowledge

        Printer Friendly Page


Size: 211 KB Download
Date Created: 11/27/2001
Date Updated: 12/03/2001
Author: Klaus Götzsche Frederiksen
Company: DFDS Seaways A/S
Summary:
This is a tool to move an existing workspace from one folder to another, and saves all the hassle of having to do this by hand.
This tool is written in Delphi 4.

Workspace Mover/Modifier

by Klaus Gotzsche Frederiksen
Prerequisites :

1) You must have read/write acces to the registry settings under the Visual
Dataflex Branch ( i think all users have that)
2) It must be a Visual Dataflex 5 / 6 / 7 Application
What it does:

1) The program copies a standard VDF workspace directory structure and
changes the registry settings according to the new location. The original
Workspace directory WILL REMAIN UNCHANGED.

2) The program can change the registry settings for an existing workspace, by
locating the parent directory for the WorkSpace directory and then click the
"Update Registry" button

The Program will always keep the application directory root as it is.

The program will test if the registry settings for filelist.cfg and data subbranch should be changed by performing a check on the files affected by the change
You will alwas have to select the workspace in the "Select a workspace" combobox. When the "Current Directory Settings" listbox control is filled you will be able to perform a copy of the workspace or just make change to your registry.

You must point to a drive and/or directory that shall host your Visual Dataflex Workspace Root directory.

If you just want to change the registry settings, you must point to a drive and/or directory which hosts your Visual Dataflex Workspace Root directory.
IF YOU ONLY WANT TO CHANGE REGISTRY SETTINGS THEN TAKE CARE. THE PROGRAM DOES NOT MAKE ANY CHECKS TO SEE IF THE WORKSPACE DIRECTORY EXISTS AT ALL
Example:

The application root is MyApp and it is located in "x:\nnnnn\MyApp"

If you copy the application to "y:\aaaa\bbbb" the result wil be
"y:\aaaa\bbbb\MyApp" and hereafter all the subdirectories belonging to that
workspace. If these subdirectories contains subdirectories these will be
copied too regardless of the amount of level.
Test environments so far:

The program has been tested up against VDF6 and VDF7 STANDARD DIRECTORY
STRUCTURES
Installation:

Unzip the program down to a proper location. Add a shortcut to the program
and you're runnin'

The binary version of the program is available from the following link:
Modify Workspaces.zip
The complete source of this program written in Delphi 4 is available from:
Regmod.zip