I have created a project in VB and I would like it to run automatically from the CD whenever the CD is inserted. Can anybody tell me how I can do this. Thanks.
This has nothing to do with vb.
Create a file "autorun.inf" and write in it:
[autorun]
open=application_name.exe
* NOTE that you must file in the path. In the above line i assume that the exe is on the root of the CD. So if the exe is in a folder on the CD then: open=folder/application_name.exe
If you want the CD to have an icon:
icon=icon_name.ico
Again fill in the right path if the icon is not on the root
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.