zelarra821
Registered User.
- Local time
 - Today, 04:40
 
- Joined
 - Jan 14, 2019
 
- Messages
 - 860
 
Good afternoon. They have sent me a database to test a scale with an RS232 cable, which I already commented on here a week ago. The thing is, I need the Comm Control 6.0 reference, but I can't find it anywhere. It has to have the extension .dll, .olb or .tlb, but the one I download is .ocx. What I need for this function:
	
	
	
		
Thank you.
 
		Code:
	
	
	Private Sub peso_Enter()
mscomm2.commport = 2
mscomm2.settings = "9600,n,8,1"
mscomm2.inputlen = 0
mscomm2.portopen = True
mscomm2.output = "$" + Chr$(13)
Do
    DoEvents
Loop Until mscomm2.inbuffercount >= 11
entrada = mscomm2.input
peso = Mid(entrada, 3, 8) + " kg"
End Sub
	Thank you.