Hello Kevin,
Nice to seeya again, if you wan't to access files in Basic here's some stuff:
let's say you wan't to open a file called 'name.txt' this is how:
OPEN "name.txt" FOR INPUT AS #1
INPUT #1, FIRSTLINE$
CLOSE #1
PRINT FIRSTLINE$
This is how to do it in MS Qbasic I hope you don't wan't it in Visual Basic
since I don't program in it.
Err how?
well this program opens a file called name.txt for INPUT this means the file
will be opened for reading data from it, if the file was opened for OUTPUT it
means the file opened for data input. The file must exist before it can be
opened.
There are also other ATT's for opening files like RANDON, etc.. should be in
online help or your Qbasic Programmers reference.
I hope this works for you, I had to do the code in a hurry but it should
ork,
email me if you have any problems.
Seeya, Quin (short fot Quintin)
--- F.I.P.S./32 v0.95 Win95/NT
(2:250/121.9)
---------------
* Origin: Happiness is seeing your boss's face on a milk cartoon
|