Posts: 29
Threads: 3
Joined: Nov 2005
can qbasic get data from the dos command ipconfig also can qbasic influnce mozzilla firefox and if qbasic cant do what i want can asm if so
what is the code to and thanks in avance
Posts: 719
Threads: 42
Joined: Oct 2005
You can SHELL the program, route its output to a textfile, and then read the textfile...that's one way of doing it.
Code:
SHELL "ipconfig>file.txt"
Of course, then you'd have to interpret the output...
\__/)
(='.'=) Copy bunny into your signature to
(")_(") help him gain world domination.
Posts: 29
Threads: 3
Joined: Nov 2005
yes that would work but can it open it to get the data
and can it work reverse can a txt file input data in to a program
Posts: 719
Threads: 42
Joined: Oct 2005
Quote:yes that would work but can it open it to get the data
and can it work reverse can a txt file input data in to a program
Dunno about your first question but the second one is easy...yes.
\__/)
(='.'=) Copy bunny into your signature to
(")_(") help him gain world domination.
Posts: 29
Threads: 3
Joined: Nov 2005
so it can influince mozzila firefox to refresh every 10 seconds
Posts: 1,956
Threads: 65
Joined: Jun 2003
Quote:everett Wrote:yes that would work but can it open it to get the data
and can it work reverse can a txt file input data in to a program
Dunno about your first question but the second one is easy...yes.
Of course you can open the text file like "file.txt" in NecrosIhsan's example. This text output of IPCONFIG is real easy to work with. You probably want to get the IP Address.
Also her example of "program<data" for passing a text data file to a program is correct, BUT ONLY if the program in question is expecting and inputting text input.
In your original post, you asked if Qbasic can influence Mozilla Foxfire. What do you mean by influence? Whatever it is, I doubt if you can do it from Qbasic.
*****
Posts: 29
Threads: 3
Joined: Nov 2005
it meant to change data,make it do certen funchens,ect
and if qbasic or asm can
Posts: 3,368
Threads: 195
Joined: Jan 2003
No.
It's logically separated. One is running on simulated DOS (on XP) and one is running on Windows XP.
With FB, still no. Theoretically that's a security risk so nothing should let you modify an already open instance of a program. Theoretically you shouldn't be able to read the contents of an already open instance (if it doesn't want you to) but I think you can not sure how.
You can also create a new instance of a browser window with FB and maybe even QB somehow. (SHELLING, like Nec said?) Then that'd be ok.
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."
Visit www.neobasic.net to see rubbish in all its finest.
Posts: 488
Threads: 19
Joined: Sep 2005
it would be awsome if u could, maybe make like a new OS that can run on Windows, it can load programs in windows, or have some custom programs made on it like a new paint, notepad, etc.