Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How i can make a program autorun
Message
 
To
26/05/2004 08:41:32
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Miscellaneous
Thread ID:
00907289
Message ID:
00907559
Views:
8
I took this from foxite.com

Autorun for Applications Distributed on CD-Rom

In order to run an application from a CD-Rom one can do the following

Pace all run time files and exe in on directory on the CD. Include any OCX files that are required by the application.
Determine the users Temp directory with sys(2023)
As all files on the CD are read only, copy all files the application will attempt to update to the users temp directory determined in 2. above.
If Foxuser.DBF and CDX are used
- start the EXE with "SET RESOURCES OFF"
- Copy the Foxuser files to the temp directory
- then SET RESOURCES To the file in its new location.

5. In the root directory of the CD place a file called "AUTORUN.INF", which contains two lines i.e.
[autorun]
open=demo\autorun.exe

This assumes the exe to be run is located in a Directory "Demo" on the CD.

Links to other sites referred to.

HOWTO: Enabling Autorun for Applications Distributed on CD
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q172/0/78.asp&NoWebContent=1

Q177143 PRB: "Error Writing to File" Error Using a Table on a CD-ROM

Q176707 PRB: Error "Not enough Diskspace" When Closing a Table
.......
DO WHILE .T.
      ME.Work()
ENDDO
Previous
Reply
Map
View

Click here to load this message in the networking platform