Creating Autorun CD using Visual Basic

  • Thread starter Thread starter David Ogden
  • Start date Start date
D

David Ogden

Hello

I'm trying to create an Autorun CD that runs a VB "exe"
file. The version of VB that I'm using is Version 6
Student Edition.

I've created the Autorun.inf file with the instruction:
[Autorun]
Open=file_name.exe

When I copy the required files to CD, re-insert the CD
into the machine, the menu does not open.

Is there anything I've missed out in this process?
Do you have to replace spaces with underscores in naming
the "exe" file?

David
 
Is this a PowerPoint question, or are you attempting to create an autorun CD for
some other purpose?

If there are spaces in the file name, try placing them within quotes.

open="file name.exe"
 
Hello

I've tried your advice but I now get an error message when
I insert the CD stating:

"Acess to the specified drive, path or file is denied"

The Autoplay facility is on as the drive plays othe
Autorun CD's. I am on a network.

The reason I've asked the question on this group is that I
could not find a Visual Baisc group.

Any ideas?

David
-----Original Message-----
Is this a PowerPoint question, or are you attempting to create an autorun CD for
some other purpose?

If there are spaces in the file name, try placing them within quotes.

open="file name.exe"
--

Sonia Coleman
Microsoft PowerPoint MVP Team
Autorun Software, Templates and Tutorials


Hello

I'm trying to create an Autorun CD that runs a VB "exe"
file. The version of VB that I'm using is Version 6
Student Edition.

I've created the Autorun.inf file with the instruction:
[Autorun]
Open=file_name.exe

When I copy the required files to CD, re-insert the CD
into the machine, the menu does not open.

Is there anything I've missed out in this process?
Do you have to replace spaces with underscores in naming
the "exe" file?

David


.
 
The open statement should be "pathless". Is it?

If that's not the problem and your program is actually running (does Task
Manager show it?), it sounds like your program isn't fully self-contained to
allow it to run from a CD or it is referencing a file with an absolute path that
can't be found. Have you tried turning a trace on to debug it? I'm not a coder
so I don't know the terminology, but it sounds like you need to step through
your code to find out where the problem is when it is run from a CD.

David Ogden said:
Hello

I've tried your advice but I now get an error message when
I insert the CD stating:

"Acess to the specified drive, path or file is denied"

The Autoplay facility is on as the drive plays othe
Autorun CD's. I am on a network.

The reason I've asked the question on this group is that I
could not find a Visual Baisc group.

Any ideas?

David
-----Original Message-----
Is this a PowerPoint question, or are you attempting to create an autorun CD for
some other purpose?

If there are spaces in the file name, try placing them within quotes.

open="file name.exe"
--

Sonia Coleman
Microsoft PowerPoint MVP Team
Autorun Software, Templates and Tutorials


Hello

I'm trying to create an Autorun CD that runs a VB "exe"
file. The version of VB that I'm using is Version 6
Student Edition.

I've created the Autorun.inf file with the instruction:
[Autorun]
Open=file_name.exe

When I copy the required files to CD, re-insert the CD
into the machine, the menu does not open.

Is there anything I've missed out in this process?
Do you have to replace spaces with underscores in naming
the "exe" file?

David


.
 
Back
Top