Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default 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
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default 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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to open a csv file without auto converion Vincent Excel Discussion (Misc queries) 2 August 17th 07 08:11 AM
Auto-Open other file aposatsk Excel Discussion (Misc queries) 5 September 28th 06 09:37 PM
How to auto activate macro when file open ? bonzio Excel Worksheet Functions 1 December 16th 05 02:45 PM
message/dialog box auto open when excel file is activated welshwizzard Excel Discussion (Misc queries) 2 January 21st 05 10:05 PM
How to auto-refresh Pivot data when open Excel file? Julie Excel Worksheet Functions 3 November 17th 04 05:22 PM


All times are GMT +1. The time now is 11:09 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"