Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating an Instance of an OCX
Message
 
 
To
11/11/2002 12:57:00
Todd Wolfe
Certified Marketing Services
Kinderhook, New York, United States
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00721128
Message ID:
00721410
Views:
35
Todd,

You can see the OLEClass that is on the object when you drop it onto a form (let's say it XYZCompany.SuperActiveX). Then you should be able to
oX = createobject( "XYZCompany.SuperActiveX" )
ox.DoSomething()
>I have an OCX that I know how to add to a form . Its call text.ocx found in directory c:\temp. Is there a way I can access it programitcly and use all of its functionality without using a form?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform