problem about import .ocx file

  • Thread starter Thread starter yindevil
  • Start date Start date
Hi, I've downloaded your OCX and got it working with the following
code:

Private WithEvents mobjCM As New Axcm11a.Axcontrolcm

Public Sub Initialize()
With mobjCM
Debug.Write(.AccessibilityObject())
.comport = 1
.Init()
Debug.Write(.ExecWait("L", "4", 1, 50, 50, 50))
End With
End Sub

Accessing the AccessibilityObject results in a fine working ActiveX
object. Don't ask me why, but I noticed that after doing a ?mobjCM in
the Command Window, the control suddenly worked, and the first thing
being accessed in that way is the AccessibilityObject.

p.s. Where did you get this control, cause I would like to know more
about it!

Erik
 
Back
Top