Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OCX issue
I used to use NETCommOCX to allow QM to interface with serial ports, but it doesn’t work with Windows 7. I found another handy OCX called StrokeReader, but I can’t get it to work in QM. The Excel VBA example from the website works fine, but I get “Error (RT) in ConfigSerPort: 0x8000FFFF, Catastrophic failure. ?” when I try to set or read any property using QM. Any ideas?

VBA example

Copy      Help
;typelib SerPort "C:\Program Files\StrokeReader\StrokeReader64.ocx" ;;put in init2 after testing
SerPort.StrokeReader c._create ;;works
c._setevents("c__DStrokeReaderEvents") ;;works

;c.Connected=t ;;fails
;c.Port=5 ;;fails
;c.BaudRate=9600 ;;fails
;c.Version ;;fails
Matt B
Try to create it as an ActiveX control in a dialog. ActiveX controls usually don't work with _create.
Yes! That worked! Thanks!
Matt B

Forum Jump:

Users browsing this thread: 1 Guest(s)