Topic: Connection of the fiscal logger
Hello. I try to understand connection of fiscal loggers to the program written on Access. Near at hand there is logger IKC-483LT. At attempt of creation of object for reversal to it there is a following error. Probably someone faced with similar and can prompt what to do, therefore as I in lockup. Here my code and an error screen.
Private Sub Start_Click ()
' we Create object of general driver KKM
Dim ECR As Object
Set ECR = CreateObject ("IKC483LT")
' we Occupy port
ECR.DeviceEnabled = True
Select Case ECR.ResultCode
Call MsgBox ("the Port is occupied by other application or the given port in the PC or it is not included.", vbCritical + vbOKOnly)
' we Check communication with .
Select Case ECR.GetCurrentMode
Case-1 ' There is no communication with .
Call MsgBox ("There is no communication with or it is not included!", vbCritical + vbOKOnly)