|
-
Jan 25th, 2002, 05:13 PM
#1
Thread Starter
<?="Moderator"?>
multiple lines from a txt file
hey ive got a bat file i want to loadin txt format, i can load single lines from it, well the bottom one. can any one help me load it all
heres my code
Private Sub cmdLoad_Click()
'Call AboutText
Dim temp As String, Message As Long
'this loads the about txtfile
ChDir App.Path
Open "c:\dude.bat" For Input As #1
'While Not EOF(1)
'Line Input #1, temp
Text1.Text = Message '& vbCrLf & temp
'Wend
Close #1
AboutText = Message
End Sub
cheers for the help
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|