i don't know the exact terminology for it so i'm taking a bit out of XLS that i know,
how do you or can you pass control of a programme to another file?
Printable View
i don't know the exact terminology for it so i'm taking a bit out of XLS that i know,
how do you or can you pass control of a programme to another file?
XLS?
pass control to file?
What are you talking about?
ok, can't be ........ed explaining it at the moment i'll ask again l8terQuote:
Originally Posted by vart
do you mean pass control to another program? such as opening Mozilla or Internet Explorer applications from your program?
Quote:
Originally Posted by DavidP
yes exactly?
There are various ways to do such a thing. Many methods are dependent upon what OS or system you are using.
The most basic way is:
system ( char * );
In other words, in my code I would write:
system ( "firefox.exe" );
And it would open firefox. but that isn't really the best way to do things most of the time. I bet there are some good tutorials on this if you google it.
In fact I think there's an FAQ entry. Search for "run program system".
You could always take code from your other program and use it in your current one, assuming you're running another program that you wrote/have access to the code for.