Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users
Const ForReading = 1, ForWriting = 2, ForAppending = 8 Const TristateUseDefault = -2, TristateTrue = -1, TristateFalse = 0 Dim fso, MyFile, FileName, TextLine Set fso = CreateObject("Scripting.FileSystemObject") ' Open the file for output. FileName = "c:\scripts\test.cfg" ' Open the file for input. Set MyFile = fso.OpenTextFile(FileName, ForReading) ' Read from the file and display the results. Do While MyFile.AtEndOfStream <> True TextLine = MyFile.ReadLine msgbox TextLine & "<br />" Loop MyFile.Close
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.