Adding References to Project  
Author Message
Lord Arokh





PostPosted: Visual FoxPro General, Adding References to Project Top

Hi Everybody

In VB6 we have to first add the Component to project reference list ( by TOOLS\REFERENCES menu item ),
in order to use all sub classes of ACTIVE-X objects in VB6.
I would like to know if there is a way to do this in VFP

I Tried :

Public Sf As Mapwingis.ShapeFile
sf=Createobject("Mapwingis.ShapeFile.1")

but it doesn't work.




Visual FoxPro1  
 
 
Tamar E. Granor





PostPosted: Visual FoxPro General, Adding References to Project Top

You don't have to this in VFP. Just make sure to distribute the control with your application.

However, if you're trying to get IntelliSense to work with such objects, open the IntelliSense Manager (Tools | IntelliSense Manager), click the Types tab, click the Type Libraries button and point to your ActiveX control(s).

Tamar