
Making a VB app to run in a CD-Rom
: So, I would appreciate if anyone could give me some details about how to
: load the same files as if they were on a Cd-Rom (some users may have their
: CD on d,e or f drive...???)
the problem is not with your program or with using a CD-ROM.. it's with
the installation program you are using. We (a professional multimedia
firm) have switched to the (seriously problematic, but still does the
job) InstallShield for our stuff. this allows us to (assuming we install
a stub program and keep the bulk of our media on CD) to set ini or
registry entries indicating where the CD-ROM drive is.
if you dont want to do this, then be smart about it! either you can use
APIs to find out which drive is a CD-ROM drive, or put a special file
(say "mycd.ini") in the root directory of the rom and sequentially go
through the drive letters until you find that file. if you dont find
that file, bring up a box that says 'CD ROM not found! Please insert
your CD-ROM into drive' and then give a choice of valid CD-ROM drives.
this has the added benefit that in case their CD-ROM drive ever changes
the prompt will come up and you're still in business.
regards,
adrian
--
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
i keep six honest serving men \/
(they taught me all i knew); /\ adrian cybriwsky
and how and where and who. (kipling) /\
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%