'------------------------------------- 'Project: VBPCOPY.VBP 'Author: James Miller 'URL: http://www.daisy.co.uk/ '------------------------------------- A simple program that takes a Visual Basic Project and copies it and all the related files to another directory. Use Visual Basic Project Copy to perform the following :- Make a clean backup of your Visual Basic Project without all of those files that tend to accumulate and will never be used again. Global string replaces can be performed on all Forms, Modules and Classes. Other techniques, features and facilities will be added in the future. The program is stored as a .zip file called VBPCopy.zip, which can be downloaded, unzipped to a suitable directory and then compiled by running Visual Basic 6.0. The .exe file is also included, but you will have to install something like Web 8.3 Copy to get all of the run time executables for the program. 1. Full source code is included with the download. 2. The Visual Basic project is called VBPCopy.vbp. 3. frmVbcM.frm is the main form and contains most of the specific code. 4. JMDialog.bas is a file, that contains routines for Positioning the Common Dialog Box and also for Obtaining the Absolute Position of a Control. 5. JMFile.bas contains a series of useful file handling routines. 6. JMRegis.bas contains the registration subroutines, described in Reading the Registry and Obtaining the Program Name for an Extension. These routines are used to call the Web Browser using the Open Input Web Site and Open Output Web Site buttons. 7. JMScreen.bas is a file, that contains the screen routines described in Useable Screen Size, that give the real size of the screen. The routines are used in the routine, SetFormPosition, to make sure that all of the form is shown. 8. JMTree.bas is a file, that was kindly sent to me by Brad Martinez, that mechanises the tree-structured directory choice.