Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: Yousfi Benameur
  Where is Yousfi Benameur?
 El Bayadh
 Algeria
 Yousfi Benameur
 To: M. Akram Bhatti
  Where is M. Akram Bhatti?
 Riyadh
 Saudi Arabia
 M. Akram Bhatti
 Tags
Subject: RE: ActiveX / DLL Registration
Thread ID: 200262 Message ID: 200317 # Views: 25 # Ratings: 0
Version: Visual FoxPro 8 Category: Active X Controls & OLE Automation
Date: Monday, October 27, 2008 12:57:14 PM         
   


> 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



COMPLETE THREAD
ActiveX / DLL Registration Posted by M. Akram Bhatti @ 10/27/2008 7:35:04 AM
RE: ActiveX / DLL Registration Posted by tushar @ 10/27/2008 7:41:32 AM
RE: ActiveX / DLL Registration Posted by M. Akram Bhatti @ 10/27/2008 8:03:19 AM
RE: ActiveX / DLL Registration Posted by Carlos Alloatti @ 10/27/2008 8:29:29 AM
RE: ActiveX / DLL Registration Posted by M. Akram Bhatti @ 10/27/2008 8:49:51 AM
RE: ActiveX / DLL Registration Posted by Anil Sharma @ 10/27/2008 7:48:40 AM
RE: ActiveX / DLL Registration Posted by Yousfi Benameur @ 10/27/2008 12:57:14 PM
RE: ActiveX / DLL Registration Posted by Samir Ibrahim @ 10/27/2008 2:44:04 PM