handsprince
New Member
i had write a vb program that can receive serial data, now i want to display the data at text box and within 10 lines then save it as text file, can anyone guide me??? thank
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
handsprince said:i had write a vb program that can receive serial data, now i want to display the data at text box and within 10 lines then save it as text file, can anyone guide me??? thank
handsprince said:thank for your reply Nigel, i had wrote the vb program, my program can receive the serial data and display it . how can i make my program to auto save every 10 receive data into a text file.thank
no problem at all.. y can't u count the received data .? i presume u know how to open a file (or is that the question ?) it would be better to buffer the entire data first (for 10 receives) then flush them to file , rather that (opennig and ) writing at each receive.handsprince said:thank for your reply Nigel, i had wrote the vb program, my program can receive the serial data and display it . how can i make my program to auto save every 10 receive data into a text file.thank
not clear what u intend ..handsprince said:thank you akg, now my program is display the receive data on a label. and now i want to change it to display on text box and save the it as a textfile. what can i do???
Private Sub MSComm1_OnComm()
Text1.Text = Text1.Text + MSComm1.Input
End Sub