Highlights
All Snippets
Top 100 Snippets
Librarians
gbCodeLib

By Language
VB6
JavaScript
Perl
HTML
SQL
Java
DOS

GBIC >> Source Code >> Visual Basic >> Snippet

View text file content


'read an entire text file into a multiline textbox
Dim temp As String
Open filename For Input As #1
textbox1.text = Input (Lof(1),#1)
Close #1