How would you go about putting 2 programs in vb together so that when you run one program it will run the other?
Printable View
How would you go about putting 2 programs in vb together so that when you run one program it will run the other?
im not sure you can do that... i think you have to use hex or somthin
I was just wondering, cause I was messing around with the sub7 (a trojin) server files and I ran across the execute/extract function it had with it. So i was thinkin to myself it would be could if you made a program that would merg 2 together and run them both at the same time.
ya...its possible to do that just not in vb i dont think
use the Shell() function to execute the "sister" program, then to pass certain data to it, use SendKeys().
.. I know how to do that. but what im talkin about is taking 2 files, and then combinding them into one. Say i have Msword and msworks I would run the program on them and combind them to make one exe that contains the code of both programs and runs both at the same time.
ya...ic what you mean :) like say you had mspaint and msworks and when you opend mspaint the other 1 would pop up 2? pm me
I've never tried this before but here is an idea. Lets say you have Program A and Program B. After you compile the two, from a third program, you would open program A for binary write and program B for binary read. You would then append the all of program B to the end of program A. Then you would have one file with two programs. You would note the exact size of program A and B in bytes. When program A starts it would write the apended program B to a new file and then shell to it. This assumes that program A would run fine and not be affected by the extra data (program B) appended to the end of its binary executable. Of course, this would take several compiles of program A because you would have to account to the code it takes to extract program B and shell to it.
I have no idea if this would work.
Greg
hmmmm....im not sure but i think he means to progs aready there
I'm not sure. Below are two quotes I was working from...Quote:
Originally posted by Motoxpro
hmmmm....im not sure but i think he means to progs aready there
Quote:
How would you go about putting 2 programs in vb together so that when you run one program it will run the other?
GregQuote:
So i was thinkin to myself it would be could if you made a program that would merg 2 together and run them both at the same time.
Try SilkRope.
http://www.netninja.com/bo/silkrope.html
I can't make it to work.
what knid of program is that
Just like what he needed.
It combines two programs into one. Then, if you run the combined one it both executes the two progs.
I don't know how to use it. I've seen it before then I remember it seems to be what he need.
o cool ill check it out