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?
This is a discussion on linking files? within the A Brief History of Cprogramming.com forums, part of the Community Boards category; i don't know the exact terminology for it so i'm taking a bit out of XLS that i know, how ...
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?
WhAtHA hell Is GoInG ON
XLS?
pass control to file?
What are you talking about?
The first 90% of a project takes 90% of the time,
the last 10% takes the other 90% of the time.
ok, can't be ........ed explaining it at the moment i'll ask again l8terOriginally Posted by vart
WhAtHA hell Is GoInG ON
do you mean pass control to another program? such as opening Mozilla or Internet Explorer applications from your program?
Originally Posted by DavidP
yes exactly?
WhAtHA hell Is GoInG ON
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.
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.