by Fortunato Estorgio Jr (1 Submission)
Category: Files/File Controls/Input/Output
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Tue 2nd October 2007
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Read & load a text file using this code. Useful in installation programs.
API Declarations
'For More info visit my site: http://www.geocities.com/for2not2
'http://www.geocities.com/for2not2
Private Sub Form_Load()
Msgbox
End Sub
Public Function LoadFile(nFilename as String) as String
Dim fso as New Scripting.FileSystemObject
Set hh = fso.OpenTextFile(nFilename, ForReading, False, Tristate as Default)
dd = hh.ReadAll
hh.Close
LoadFile = dd
End Function
End Function
No comments have been posted about Read & load a text file using this code. Useful in installation programs.. Why not be the first to post a comment about Read & load a text file using this code. Useful in installation programs..