Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Program Error

Status
Not open for further replies.

alisaif

ISP
Apr 6, 2013
418
AE
Hi All,

After compiling I am facing a problem which is shown in attached image.

Kindly let me know how to fix this??

Thanks

Saif

comerr_b5drl2.png
 
Saif,

This was a common problem with old ActiveX controls, that is, those that were supplied with VFP 5.0 and earlier. It simply means that the control is not properly registered. You can usually solve it by registering the control on the target system, which can be done as part of your setup program, or by executing REGSVR32.EXE (which you run from the command prompt, passing the path and name of the ActiveX control (the OCX file) as a parameter).

In fact, a much better solution is to use a more up-to-date version of the control. In general, the controls that come with VFP 6.0 are more reliable.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads
 
Thanks for the reply! How can I get the up-to-date version of the control.

Please reply!

Saif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top