vb.net - Importing B.exe into A.exe an then run B.exe from A.exe -


i using visual basic 2008 , have question it?

i have a.exe , b.exe ( a.exe vbapp, , b.exe executable file ). possible include b.exe a.exe , running a.exe? by, example, importing b.exe vbproject , running without extracting it.

the question bit vague, can along lines, in several different ways.

first, can compile separate exe (i'll call exea) vb project (call exeb). when user runs exeb, extracts resource containing exea, saves file (likely temp folder or someplace write rights) , shells exea.

another possibility compile external functionality dll, call dlla, compile dll vb project (call exeb).

when user runs exeb, extracts resource containing dlla, storing memory stream, uses assembly.load load dll memory stream (instead of file), , @ point can create objects dll, , use normal.

in both these cases though, it's better compile second exe or dll , include both in msi installation project.

more details in question might narrow down other possible solutions well.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -