Running Packaged Files.

Michaelk

Well-known member
Joined
Jun 3, 2004
Messages
58
Location
Australia
Programming Experience
3-5
Hi, i'm trying to run a seperate file that is packaged inside my Exe.
Not quite sure how to explain it, but here goes.
I added a seperate Exe into my VB program, now i am trying to run this program through VB when the user clicks a button.
For example, if the user clicks "Button1", then the Exe that is packaged inside called "Text.exe" runs.

Reading over that it sounds confusing, but not sure how to say it,
I hope someone can help.

Thanks,
 

Michaelk

Well-known member
Joined
Jun 3, 2004
Messages
58
Location
Australia
Programming Experience
3-5
In the Solution Explorer in my Project, i right clicked, made a new folder called "Files", and then right clicked that Folder and went to 'Add' - 'Add Existing Item'. I added them through there, and then 'Build Action' of each file to "Embedded Resource".

I've got no idea if thats how it's ment to be done, was just playing around. Is there another better way to do it?

Thanks
 
Top Bottom