|
-
October 1st, 2005, 02:24 AM
#1
Auto run from CD
I am wanting to burn a CD with some Battlefield 1942 mods on it for a couple friends and I want an executable that I can autorun that will bring up a little window that allows you to click the different buttons to install the mods using the .exe mod files . I can make the interface but I don't know how to run an outside .exe file using VB.NET. Any help would be appreciated. if that autorun page have a little instalation no problem. what will be path of CD Rom.
-
October 1st, 2005, 05:24 AM
#2
Re: Auto run from CD
Dear sultan_tipu,
You can use Process.Start() method for launching an external app from Vb .NET
use the following example :
Dim p As Process = New Process
p.Start("Notepad.exe") ' Replace Notepad.exe with your .exe name
Hope that this solves your problem
Pramod S Nair
-
October 1st, 2005, 12:57 PM
#3
Re: Auto run from CD
Create a file called autorun.inf and place this in it but make the relevent changes to your file(s). Then when you burn your CD place the autorun.inf in the root directory.
Code:
[AutoRun]
OPEN=MyFile.exe
ICON=GangstaYoda.ico
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|