Home > Net >  VB.NET how to obtain data usb port or serial port data
VB.NET how to obtain data usb port or serial port data

Time:09-17

If I want to put code gun sweep to the content of the displayed in the textbox how to operate? Had better give a instance, I'm learning how to learn, my novice!

CodePudding user response:

For your reference
CSDN blog has a lot of resources, the original poster can find learn first,

CodePudding user response:

Use serialport or mscomm control

CodePudding user response:

Focus on the textbox, then sweep code, don't get the content...

CodePudding user response:

Sweep code gun is flicking on the cursor position labeled code information, do not need any operation

CodePudding user response:

After you write the following two lines, direct scanning, information entered in the second statement is to scan next time don't have to manually remove the original information,
Me. Textbox1. Focus ()
Me. Textbox1. SelectAll ()

CodePudding user response:

Write a timer, open the serial port, cycle to scan, if it is good to read the assignment, the Internet a lot of examples
  • Related