Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to do an .EXE executable only from a CDROM (not inst
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00097239
Message ID:
00097315
Views:
19
>I'm doing a Form with links to .wavs, I wanna to do a executable from a CD (without have to install it to the HD).
>
>___1.1) It is possible with VFOX 5??? , the .EXE need the VFP500.DLL and probably others files but what happend if these files are in the same DIR of the .EXE (don't need to install) ???
>
>___1.2) I tried with the MAIN.PRG u send me, but I wasn't succesfull to make an .EXE
>
>___1.3) In SET PATH, How to idintificate the CDROM LETTER (because it change) ( Ed: CDROM_LETTER:\Dir1\Dir2 )

Some information and files will have to be store in the registry and local hard drives. ActiveX controls, for exmaple. So some type of setup is going to have to be done.

You can, however, allow the application only to be run from the CD ROM. Use SYS(5) to get the drive letter, and, with the Foxtools library installed, pass it to the DriveType() function. If it's a CD-ROM drive, the value returned will be 5.

hth,
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform