' Returns the content of the specified text file' Note: it can throw an exception' Usage: Dim FileContent As String = LoadTextFile("C:Autoexec.bat")Function LoadTextFile(ByVal FilePath As String) As String Dim sr As System.IO.StreamReader Try sr = New System.IO.StreamReader(FilePath) LoadTextFile = sr.ReadToEnd() Finally If Not sr Is Nothing Then sr.Close() End TryEnd Function


Top Software Development Companies in USA
Navigating the tech landscape to find the right partner is crucial yet challenging. This article offers a comparative glimpse into the top software development companies