Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.
Set objFSO = CreateObject("Scripting.FileSystemObject") Set objFile = objFSO.OpenTextFile("c:\W2Project\W2REPORT.txt", ForReading) Const ForReading = 1 Dim arrFileLines() i = 0 Do Until objFile.AtEndOfStream Redim Preserve arrFileLines(i) arrFileLines(i) = objFile.ReadLine i = i + 1 Loop objFile.Close 'Then you can iterate it like this For Each strLine in arrFileLines WScript.Echo strLine Next
|Convert 1page PDF to JPG and then insert to Excel||11||44|
|vb script insert table row before current row||3||31|
|i want to read the contents of the file to Csv||13||42|
|Date generator for it to show Days Left for due date.||11||45|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
10 Experts available now in Live!