This document contains the details of the process to remove paths from an existing vb project, or to ensure that there are none in it
- create a new working folder and copy all of the files for the project into that folder
- delete the vbp file; the vbw file in of no consequence
- start vb and choose to create a new project
- delete the form1 that is automatically added into the new project
- use Project | AddForm to add the form into the project
- use File | SaveFormAs to save the form into your working directory; you must actually choose your working directory as the save directory
- use File | SaveProjectAs to save the project into your working directory; you must actually choose your working directory as the save directory
- ensure that there are no paths in any properties; for any properties which use an ellipsis to find a file, you must follow the ellipsis to the copy of the file in your working directory; this includes Picture property of Image control, Icon property and Picture property of form, and DataBaseName property of Data control
- ensure that there are no paths in the code
- have the ChDrive App.Path and ChDir App.Path commands in the Form_Load procedure of the startup form