Page 1 of 1

making AIO's?

Posted: Tue Oct 24, 2006 10:10 am
by I DARK CHRIS I
yo

i have the files etc etc that im going to be using in my resources in VB.net but how do i make a button open these.

like what is the code for a button to open a specific file up in the resources section?

cya

Posted: Tue Oct 24, 2006 10:48 am
by dos mes
I think it's

Code: Select all

Process.Start(My.Resources.Resource1{or whatever you named your resource file}.{name of file in the resource file})
The stuff I wrote in {}'s doesn't go into the code.

Posted: Tue Oct 24, 2006 12:33 pm
by I DARK CHRIS I
it keeps giving me errors when i do that ...

Posted: Tue Oct 24, 2006 1:08 pm
by Patrickssj6
I tried it too for hours to start an exe file from my recourses.Some people say it's impossible.

Posted: Tue Oct 24, 2006 4:23 pm
by dos mes
Yea, that's why aio's are installers, so they just start up the app from the given directory...