Hello All,
I have raised the same request in Lotus Forum 6 and 7. But since cannot get any reply… I am again raising it here…
There is one weighing machine connected to my machine. My application should read data I want to read data from a serial port. I am using the following code which i found from this forum…
My Code Looks Like This
(declerations)
Dim MSComm1 As Variant
Sub Initialize
Set MSComm1 = createobject(“MSCOMMLib.MSComm.1”)
MSComm1.commport = 1
mscomm1.settings = “1200,e,7,1”
mscomm1.portopen = True
On Event OnComm From MSComm1 Call OnComm1
End Sub
Sub OnComm1(source As Variant)
Print source.input
End Sub
But on running it gives error “Cannot Create Automation Object”.
Even i want to know how to attach the OCX objects to Lotus…
Please help…
Thank You well in advance…