Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
geting data with qbasic
#1
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
Reply
#2
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.
Reply
#3
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
Reply
#4
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.

Code:
program<data
\__/)
(='.'=) Copy bunny into your signature to
(")_(") help him gain world domination.
Reply
#5
so it can influince mozzila firefox to refresh every 10 seconds
Reply
#6
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.

Code:
program<data
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.
*****
Reply
#7
it meant to change data,make it do certen funchens,ect
and if qbasic or asm can
Reply
#8
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.
Reply
#9
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)