> 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
Hi Akram
Two solutions:
1-Your activeX have a dll .
in the windows start type (or with run/n vfp command)
to register your.dll run the following command:
REGSVR32 your.dll (with complet path)
To remove a .dll component registry entry
REGSVR32 /u your.dll (with complet path)
a messagebox tells you if the dll registration is or no success.
2-You can include the dll or OCX of you activeX in the dialog box Options (vfp menu/tools/options/controls).
Yopu can add the composant here .it is registered automatically if you choose "as default/ok".

Regards
Yousfi Benameur