hi all unfortunately, i have more than one qusetion 1- see the next code :
how can change this code from vb6 to .net specially the following code
VB6.Format(t, "#0.0" & "°C")
2-
-how can i change the up code to .net specially the following code MSComm1.CTSHold ing
any one help me please :confused:
Private Sub Timer1_Tick(ByV al eventSender As System.Object, ByVal eventArgs As System.EventArg s) Handles Timer1.Tick
Dim t As Double
t = temperature(1)
label_temperatu re_outside.Text = VB6.Format(t, "#0.0" & "°C")
End Sub
Dim t As Double
t = temperature(1)
label_temperatu re_outside.Text = VB6.Format(t, "#0.0" & "°C")
End Sub
VB6.Format(t, "#0.0" & "°C")
2-
Private Function SDA_value() As Integer
SDA_value = MSComm1.CTSHold ing 'determine the status of an external device'
End Function
SDA_value = MSComm1.CTSHold ing 'determine the status of an external device'
End Function
any one help me please :confused: