L_gaminde,
The next code works fine because I just tested it with VB6 in my PC. I expect that it should work for you too with your VB5 version.
- Create a textbox
- Set multiline to true
- Set scrollbars to "3 - both"
- Use the following code
Code:
Text1.text = Byte1 & vbCrLf 'This is the first line
Text1.SelStart = Len(Text1) 'Finds the starting point to append text
Text1.SelText = Byte2 & vbCrLf 'Appends text
Text1.SelStart = Len(Text1) 'Finds the starting point to append text
Text1.SelText = Byte3 & vbCrLf 'Appends text
Use the code for the first line only once if you want the results to keep scrolling.
Robert
Edit: The code I gave you in a previous post works for VB.net. Wrong version
.
Last edited by rsocor01; - 13th November 2010 at 04:53.
Reason: Clarification
"No one is completely worthless. They can always serve as a bad example."
Anonymous
Bookmarks