Converting Project Files from earlier versions
The current Project Explorer can be used to handle previous generation Project files by making a few basic modifications.
Translating the Project File line
If you use a language other than English as your default, the first line of the file needs to be translated to English. The line should look something like:
Project File generated 03/23/2004 16:25:28
To do this you’ll need to edit this line in the Source Editor:
Open the Navigator and select the Project tab
Right-click on the project file and select, “Open in Source Editor”.
Replace the Project File line with the translated text
Converting the pathnames
All relative paths currently used by your project must be converted to full pathnames.
“. . Abandon.bmp”
must be converted to it’s full path equivalent
C:\ProgramFiles\dBASE\Plus\Media\Images\Abandon.bmp
To convert relative pathnames:
Clicking the filename in the TreeView changes the Project Explorer tab to File Details. If the Project Explorer is unable to locate the file, only the File Name entryfield will display showing the incorrect, or relative pathname.
Click the wrench tool next to the pathname
In the Open File dialog, navigate to the file and click Open. The correct pathname and other file information will display in the File Properties section.
You could also modify the pathnames, before bringing the files into the Project Explorer, by using the Source Editor.
To open the .PRJ file in the dBASE Plus Source Editor:
Right click on the file in the Navigator, and select "Open in Source Editor" (or press F12)
or
In the Command Window, type: MODIFY COMMAND projectname.prj (where “projectname” is the name of your file).
Entries, such as those below from the [Contents] section, will display in the source code.
[Contents]
inventor.wfm,0,0
Library.wfm,0,0
roster.rep,0,0
..\dUFLP\custbutt.cc,0,0
vesper.ini,0,0
..\dUFLP\preview.wfm,0,0
..\Program Files\dBASE\Plus\dBLClasses\FormControls\Seeker.cc,0,0
Note: Relative pathnames "..\dUFLP\custbutt.cc,0,0" and “..\dUFLP\preview.wfm,0,0” must be converted to their fullpath equivalents. See “Converting the pathnames” above. Once you have completed this, save the changes you just made and exit the Source Editor (Ctrl+W will accomplish both of these steps at one time).