> Dear Experts,
>
> How can we know that a certain ActiveX / COM DLL is installed / registered in the pc.
>
> I want to make sure that ActiveX is registered before executing the following code:
>
>
APPEND GENERAL pobc CLASS ("idauto.barcode")
>
> Thanks
>
> Akram
Try this
LOCAL loBarCode,loError
TRY
loBarCode = Createobject('idauto.barcode')
CATCH TO loError
ENDTRY
IF VARTYPE(loError) = 'O'
DECLARE LONG DllRegisterServer IN c:\folder\yourdllorocxofBarcode.dll
ENDIF
Anil
My Blog