Aaron Young
Dec 13th, 1999, 12:08 AM
Use the VB File Functions, Open.. For.. As.., eg.
Dim iFile As Integer
iFile = FreeFile
Open "C:\TheFile.txt" For Input As iFile
Input #iFile, sWebURL
Close iFile
Msgbox "The URL is " & sWebURL
If the file contains more than one bit of information, you would continue to use the Input# function until EOF(iFile) is True indicating the End of the File has been Reached.
------------------
Aaron Young
Analyst Programmer
aarony@redwingsoftware.com
adyoung@win.bright.net
[This message has been edited by Aaron Young (edited 12-13-1999).]
Dim iFile As Integer
iFile = FreeFile
Open "C:\TheFile.txt" For Input As iFile
Input #iFile, sWebURL
Close iFile
Msgbox "The URL is " & sWebURL
If the file contains more than one bit of information, you would continue to use the Input# function until EOF(iFile) is True indicating the End of the File has been Reached.
------------------
Aaron Young
Analyst Programmer
aarony@redwingsoftware.com
adyoung@win.bright.net
[This message has been edited by Aaron Young (edited 12-13-1999).]