پاسخ : راهنمایی در مورد ارتباط سریال( Rs232)
این هم برنامه سمت کامپویتر با VB6 :angry: :angry:
Private Sub Form_Load()
MSComm1.CommPort = 1
MSComm1.PortOpen = True
HScroll1.Value = 0
MSComm1.Settings = "9600,n,8,1"
End Sub
Private Sub Form_Unload(Cancel As Integer)
MSComm1.PortOpen = False
End Sub
Private Sub HScroll1_Change()
text1 = HScroll1.Value
MSComm1.Output = text1.Text
End Sub
Private Sub HScroll1_Scroll()
text1 = HScroll1.Value
MSComm1.Output = text1.Text
End Sub
این هم برنامه سمت کامپویتر با VB6 :angry: :angry:
Private Sub Form_Load()
MSComm1.CommPort = 1
MSComm1.PortOpen = True
HScroll1.Value = 0
MSComm1.Settings = "9600,n,8,1"
End Sub
Private Sub Form_Unload(Cancel As Integer)
MSComm1.PortOpen = False
End Sub
Private Sub HScroll1_Change()
text1 = HScroll1.Value
MSComm1.Output = text1.Text
End Sub
Private Sub HScroll1_Scroll()
text1 = HScroll1.Value
MSComm1.Output = text1.Text
End Sub
دیدگاه