ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Auto Open a CD and run an Excel file (https://www.excelbanter.com/excel-programming/314120-auto-open-cd-run-excel-file.html)

Larry[_14_]

Auto Open a CD and run an Excel file
 
Can someone tell me how I can write an Auto Run scrip for a CD that will open
the CD automatically and then open an excel file on the CD. The scrip would
also be on the CD, so when someone inserts the CD in the computer, it opens
itself. Thanks for any help someone can give.
--
Larry

No Name

Auto Open a CD and run an Excel file
 
hi,
not possible. to run vb script from excel you must have an
open excel file with the script in the open excel file.
with the script on the cd......it just wont run.
sorry.

-----Original Message-----
Can someone tell me how I can write an Auto Run scrip for

a CD that will open
the CD automatically and then open an excel file on the

CD. The scrip would
also be on the CD, so when someone inserts the CD in the

computer, it opens
itself. Thanks for any help someone can give.
--
Larry
.


James Cox[_2_]

Auto Open a CD and run an Excel file
 
Larry - never done this, but a somewhat broader search in Google groups
threw up these two threads - maybe there is something for you in them - good
luck!

James Cox

All messages from thread
Message 1 in thread
From: Lars Makiaho )
Subject: Autostart a CD component


View this article only
Newsgroups: borland.public.delphi.thirdparty-tools
Date: 1999/09/04


I am searching for a component that can autostart a program on a CD when it
is inserted, does that exists somewhere?

LarsMessage 2 in thread
From: Pierre du Parte )
Subject: Autostart a CD component


View this article only
Newsgroups: borland.public.delphi.thirdparty-tools
Date: 1999/09/04


You don't need a component. To autorun the CD create a text file called
autorun.inf - this file is like a batch file and it is placed in the root of
the CD.

A simple example for autorun.inf is

[autorun]
open=myprog.exe
icon=myprog.ico


where myprog.exe is the program to run when the CD is inserted and
myprog.ico is the icon attributed to the CD.

Easy, what?

Pierre






Lars Makiaho wrote in message
...
I am searching for a component that can autostart a program on a CD when

it
is inserted, does that exists somewhere?

Lars

Message 3 in thread

From: Lars Makiaho )
Subject: Autostart a CD component


View this article only
Newsgroups: borland.public.delphi.thirdparty-tools
Date: 1999/09/04


Too easy!
Thanks!
Lars
Pierre du Parte wrote in message
...
You don't need a component. To autorun the CD create a text file called
autorun.inf - this file is like a batch file and it is placed in the root

of
the CD.

A simple example for autorun.inf is

[autorun]
open=myprog.exe
icon=myprog.ico


where myprog.exe is the program to run when the CD is inserted and
myprog.ico is the icon attributed to the CD.

Easy, what?

Pierre






Lars Makiaho wrote in message
...
I am searching for a component that can autostart a program on a CD when

it
is inserted, does that exists somewhere?

Lars




and:



From: Ted McCormick )
Subject: Autostart a program on a cd


View this article only
Newsgroups: macromedia.director.lingo
Date: 2001-08-08 13:49:04 PST

Can somebody tell me how you get a projector to run automatically when a
user inserts the cd. (Windows).

Thanks in advance eh.

Ted McCormick
essage 2 in thread
From: David Craddock )
Subject: Autostart a program on a cd


View this article only
Newsgroups: macromedia.director.lingo
Date: 2001-08-08 15:19:02 PST


create a file using notepad (or any text editor) named autorun.inf

put the following in the file

[autorun]
open=YourProjectorName.exe

save the file and place it at the root (not in a folder) level of your CD
rom along with the projector when you burn the CD.

Other options exist but this is the minimum to auto run. Director
Projectors don't always start real quick so be patient when testing. Note:
The Auto Insert Notification option must be enabled for the CD ROM on each
machine (and it usually is by default).


Ted McCormick wrote in message
...
Can somebody tell me how you get a projector to run automatically when a
user inserts the cd. (Windows).

Thanks in advance eh.

Ted McCormick



"Larry" wrote in message
...
Can someone tell me how I can write an Auto Run scrip for a CD that will

open
the CD automatically and then open an excel file on the CD. The scrip

would
also be on the CD, so when someone inserts the CD in the computer, it

opens
itself. Thanks for any help someone can give.
--
Larry





All times are GMT +1. The time now is 08:44 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com