F
F
FFNull Dev2012-02-14 01:09:34
.NET
FFNull Dev, 2012-02-14 01:09:34

Problem with VB.NET?

I am remaking my program written in vb6 under vb 10. And it freezes. Below I will give code 6. And I will indicate where the plug is.

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 = &quot;9600,n,8,1&quot;///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) //Как переделать данную строку под 10-й??<br/>
Label3.Caption = Slider1.Value<br/>
End Sub<br/>

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Naps, 2012-02-14
@Naps

See an example of how it works www.microsoft.com/download/en/confirmation.aspx?id=17983

R
RIAMedia, 2012-02-14
@RIAMedia

.ToString()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question