Simple task question

bigalexe

New member
Joined
Oct 8, 2006
Messages
2
Programming Experience
Beginner
I am completely new to this all ive done is some HTML. Anyway i was told that vb.net is the best code for my task. I want to design a GUI (just a window) that will autorun when a CD is inserted (like a batch file). The CD has some files on it that are .exe, .zip, and .msi. Anyway i want the window to have buttons that will launch these files. This has been very difficult and i tried writing a webpage that will do this and it doesnt work.
 
Add a few buttons to the form, doubleclick them and you are taken to the Click event handler where you write the code to start the process, ie:
VB.NET:
Process.Start("filename.exe")
 
VB.NET is almost definitely NOT the best way to achieve this because if you insert that disc into a machine that doesn't have the .NET Framework installed the user will get an error message and be unable to run your app. As long as the user has the Framework installed it will be fine but unless you're going to ensure that everyone using it does then any .NET language is a bad idea.
 
Back
Top