The problem with VB.NET?

Redoing my program written in vb6 under vb 10. And hovered.Below give code 6. And point where plugging.
Private Sub Form_Load()<br>
Slider1.Max = 255<br>
Slider1.Min = 0<br>
Slider1.TickFrequency = 10<br>
Slider1.LargeChange = 10<br>
MSComm1.RThreshold = 3///10 ????<br>
MSComm1.InputLen = 3///10 ????<br>
MSComm1.Settings = "9600,n,8,1"///10 ????<br>
MSComm1.CommPort = 6<br>
MSComm1.PortOpen = True<br>
MSComm1.DTREnable = False///10 ????<br>
Picture1.ScaleWidth = 1000<br>
Picture1.AutoRedraw = True<br>
End Sub<br>
<br / >
Private Sub Form_Unload(Cancel As Integer)<br>
MSComm1.PortOpen = False<br>
End Sub<br>
<br / >
Private Sub Slider1_Change()<br>
MSComm1.Output = Chr$(Slider1.Value) //How to convert this string under 10 minutes??<br>
Label3.Caption = Slider1.Value<br>
End Sub<br>
October 8th 19 at 03:33
2 answers
October 8th 19 at 03:35
October 8th 19 at 03:37
.ToString()

Find more questions by tags Visual Basic.NET