making AIO's?

Post here about scripting and programming for HaloPC (audio, network, ai, etc.)
Post Reply
I DARK CHRIS I





Posts: 3
Joined: Mon Jun 26, 2006 8:42 am

making AIO's?

Post 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
User avatar
dos mes





Posts: 2158
Joined: Thu Dec 29, 2005 9:58 pm
Location: Syracuse, NY

Post 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.
I DARK CHRIS I





Posts: 3
Joined: Mon Jun 26, 2006 8:42 am

Post by I DARK CHRIS I »

it keeps giving me errors when i do that ...
Patrickssj6




Pi Collaborator

Posts: 5426
Joined: Sat Jul 24, 2004 12:12 pm
Location: I'm a Paranoid
Contact:

Post by Patrickssj6 »

I tried it too for hours to start an exe file from my recourses.Some people say it's impossible.
...left for good
User avatar
dos mes





Posts: 2158
Joined: Thu Dec 29, 2005 9:58 pm
Location: Syracuse, NY

Post by dos mes »

Yea, that's why aio's are installers, so they just start up the app from the given directory...
Post Reply