Use the VB File Functions, Open.. For.. As.., eg.
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.Code:Dim iFile As Integer iFile = FreeFile Open "C:\TheFile.txt" For Input As iFile Input #iFile, sWebURL Close iFile Msgbox "The URL is " & sWebURL
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]
[This message has been edited by Aaron Young (edited 12-13-1999).]




Reply With Quote