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

  1. create a new working folder and copy all of the files for the project into that folder
  2. delete the vbp file; the vbw file in of no consequence
  3. start vb and choose to create a new project
  4. delete the form1 that is automatically added into the new project
  5. use Project | AddForm to add the form into the project
  6. use File | SaveFormAs to save the form into your working directory; you must actually choose your working directory as the save directory
  7. use File | SaveProjectAs to save the project into your working directory; you must actually choose your working directory as the save directory
  8. 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
  9. ensure that there are no paths in the code
  10. have the ChDrive App.Path and ChDir App.Path commands in the Form_Load procedure of the startup form