Execute an embedded application?

PaulieORF

Newcomer
Joined
Oct 21, 2004
Messages
24
I'm wondering if and how I can execute an EXE that I've embedded into my VB.NET application. I know how to utilize other filetypes that are embedded, like text files and images, but don't know how to execute embedded applications. I've done lots of searching on this, found people who asked how to do the same thing, but none of them were answered. Thanks.
 
I'm not sure what you mean by embedded. If you want to run another program you can use
Visual Basic:
System.diagnostics.process.start(filenameofexecutable,optionalotherfiletostartwithit)
 
Hi, yes this is possible, see the attached project I did as a test for myself a while ago.
Basically there is an exe (unmanaged, but that does not matter) embedded, called text.exe.
When you run the project it will extract the exe to the same folder as the project exe and then run the program.
Just to satisfy yourself, delete the test.exe and it will be created every time!

Test.exe just prints a message to a command window, please excuse the message, it is not directed at you, just my sense of humour!!

Hope this helps
 

Attachments

Last edited by a moderator:
Talyrond said:
Hi, yes this is possible, see the attached project I did as a test for myself a while ago.
Basically there is an exe (unmanaged, but that does not matter) embedded, called text.exe.
When you run the project it will extract the exe to the same folder as the project exe and then run the program.
Just to satisfy yourself, delete the test.exe and it will be created every time!

Test.exe just prints a message to a command window, please excuse the message, it is not directed at you, just my sense of humour!!

Hope this helps

Thank you!
 
Back
Top