VB5 to Pic VB5 Help


Results 1 to 21 of 21

Threaded View

  1. #11
    Join Date
    Jan 2009
    Location
    Miami, Florida USA
    Posts
    699


    Did you find this post helpful? Yes | No

    Default

    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

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts