Hi Gene,
>I am trying to add a activex control GarXface.ocx to a form. I have tried dragging it from the component gallery and this does not work.
>I have been told that I need to add it to a form as a reference.
This control is a plain COM server, not an ActiveX control. To access its features you need to instantiate an object programmatically:
oPorts = CreateObject("GarXface4.ComPortNames")
If this line returns an error message, run the following command from the DOS window as an administrator:
REGSVR32 C:\Windows\System32\GarXface4.OCX
If this doesn't work either, execute the setup again.
--
Christof