Help Please wiit autrun starting a VB .exe file 
Author Message
 Help Please wiit autrun starting a VB .exe file

I apologize if this is the wrong group to post to but I hope it is
not.

I have created an exe file using VB. I want it to run automatically
when the Zip disc (eventually CD) is put into the drive.

I have the following in the autorun.inf file that is on the drive:

[autorun]

open = bonjour.exe

All that happens is the drive opens showing the files on it.

Thanks in advance,

baz



Wed, 18 Jun 1902 08:00:00 GMT  
 Help Please wiit autrun starting a VB .exe file
The steps to do it are:

1) Compile the project.
2) Put the .EXE file onto the disk/CD/ZipDisk/other device to autoplay.
3) Create a file called autorun.inf and put on the root directory of the
disk in question.
4) In the file, add the lines, replacing the stuff in braces {} with your
own filenames:
  [autorun]
  open=\{path and filename of EXE}
  icon=\{path and filename of icon}
For example, try this:
  [autorun]
  open=\bonjour.exe
  icon=\bonjour.ico
5) Save all files and make sure autoplay is switched on (see documentation)
6) Put disk back in drive or refresh the window to let your OS think the
disk has changed.
7) Smile.

This is quite bad if you are using the VB program on another machine as you
have to make sure all of the run-time DLL files are present on their
computer.

Hope this helps.

QuickHare
Remove the NOSPAM to E-Mail direct.
Enleve la NOSPAM E-Mail moi directement.



Wed, 18 Jun 1902 08:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. PLEASE HELP, PLEASE HELP, PLEASE HELP, PLEASE HELP, PLEASE HELP, PLEASE HELP, PLEASE HELP,

2. Does anyone know how to start a .exe file in VB Script

3. how can i start an exe-file out of VB

4. Start a VB exe file from Outlook

5. starting an EXE file from VB

6. can't make an .exe file (please help me )

7. Help please with .exe files

8. Opening a file with an EXE - please help??!!

9. Please Help ...VBasic and C++ compiles EXE files

10. EXE File Name??Help please

11. Error when running compiled EXE files, please help!

12. VB/Internet Newbie: Help get me started, please!

 

 
Powered by phpBB® Forum Software