Monday, February 15, 2010

Cannot Open or Find File when installing visual basic application .Please insert disk'. (vb6) Could not open the file named: drive/filename

Sometimes when trying to install a visual basic application the following error message may occur according to the version of vb

in vb4

Could not open the file named: :\

If you are using vb5

Cannot find the source file ':\\' to install.

In vb6

Cannot find file ':\. Please insert disk'.

The reason for this error messages are the drive from which installation filename is running does not support long filenames. This problem is common in CD-ROM drives whose driver is out of date and does not offer support for longer filenames. However this problem can occur in any drives

To resolve the problem do any of the following

1. Obtain and install an updated driver that adds support for long filenames on the device in question.

2. Modify the project such that no long filenames are used by any of the project's files, and then re-deploy.

3. Copy the entire contents of the setup from the CD (or network drive) to a folder on the local hard drive. Rename all files in this directory that currently have short filenames but originally contained long filenames. The correct long filenames can be determined by viewing the [FILES] and/or [BOOTSTRAP] sections of the SETUP.LST file. Finally, run SETUP.EXE from this local folder.

No comments:

Post a Comment