I have written a fairly large VB6 application that makes use of a number of wav and txt files. When I copy these files via right-clicking a folder and selecting 'Add Files' in the VSI 1.1 IDE I get an error for all of them stating "The property 'SharedLegacyFile' must be TRUE for isolated file <filename>". Setting that property to TRUE doesn't help at all. DoNotUninstall is set to FALSE, but setting it to TRUE doesn't have any effect on the error. I have also tried changing the Register property but, again, no dice. Changing Component from 'Self" to the application executable causes the wav and txt files to end up in the Application Folder which would probably break my VB code for locating those files in the Special Folders. Even if that route would work I wouldn't want those files in the Application Folder. I found one solution at a website elsewhere, but it requires renaming each file and then changing the name back to its original. While that method does, in fact, work, I can't believe Microsoft intended for people to have to go through that each time since VSI forces you to rename files individually instead of allowing a batch rename. I'm hoping that someone here might know of a better way to clear or avoid this error. I have attached a screenshot of VSI with the errors.
↧