vb6.0
-
I am near the end of a program. This program accesses rich text files and jpeg files using the app path method. This works well while the program is contained within the same folder as the files. I want to have the compiled program in "program files" and have the program access the rt files and jp files from the cd rom no matter what drive letter is assigned to the rom. Mark
-
I am near the end of a program. This program accesses rich text files and jpeg files using the app path method. This works well while the program is contained within the same folder as the files. I want to have the compiled program in "program files" and have the program access the rt files and jp files from the cd rom no matter what drive letter is assigned to the rom. Mark
I think you want to know which one is the CD-ROM drive : use these APIs:
FindFirstVolume FindNextVolume
to search volumes andGetVolumeInformation
to check file system..