slashandburn
Jan 23rd, 2000, 10:15 AM
How can i load text from a .TXT file into a textbox?
Aaron Young
Jan 23rd, 2000, 11:04 AM
Private Sub cmdLoadText_Click()
Dim sText As String
Dim iFile As Integer
iFile = FreeFile
Open "C:\SomeTextFile.txt" For Input As iFile
sText = Input(LOF(iFile), iFile)
Close iFile
Text1 = sText
End Sub
------------------
Aaron Young
Analyst Programmer
aarony@redwingsoftware.com
ajyoung@pressenter.com