Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE Class
Message
From
06/08/1998 19:01:37
 
 
To
06/08/1998 10:27:17
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00124458
Message ID:
00124640
Views:
22
Theoretically, you should use a OLE Container Control. Look in the help at OLE Container Control. It has an example.

Practically, you can use CreateObject directly to create an object, but the parameter passed to CreateObject must be the value of the ProgID registry key for that control:

oOle = CreateObject("AControl.AControlCtrl.1") && or something like that :)

Vlad

>If I create a class based on an OLE Control. Then try to instanciate it it won't let me. I think I'm doing this right but I'm not sure.
>
>oOle=CreateObject('MyOleClass')
>
>It works for a form class.
>
>I just want to know what BaseClasses it works for and doesn't work for.
Previous
Reply
Map
View

Click here to load this message in the networking platform