Splitting an input to a text box

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • LAS
    New Member
    • Jul 2007
    • 2

    Splitting an input to a text box

    Hello everyone,

    Is it at all posible to split an input to a text box, (from a serial port) into seperate text boxes?

    for example:

    D=100
    F=250
    R=12
    J=1

    Could these then be put into respective text boxes.
    so text box D would be 100, F would be 250 and so on,

    Thankyou,
    Lliam
  • Killer42
    Recognized Expert Expert
    • Oct 2006
    • 8429

    #2
    That's easy. You just need to decide exactly how you want to split them. Do you just want to break at each space, or what?

    Look up the Split() function in VB's doco - it will probably provide everything you need to do this.

    Comment

    Working...