Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing Custom ActiveX DLL Events
Message
De
18/12/1997 18:50:50
 
 
À
18/12/1997 10:14:57
Jay Shepherd
Construction DataFax, Inc.
Montevallo, Alabama, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00066798
Message ID:
00067090
Vues:
47
I don't know VB, so, I can't tell you why it doesn't work.

Why don't you want to make a usual ActiveX control in VB? Is there any limitation if you do it?

Vlad

>That helped me get closer, but I'm still having some trouble. The code that you provided DOES work for Physical Controls and insertable objects (like Excel worksheets, etc.)
>
>The error that I'm getting now, is an Ole Error, (not a fox one) "No Such Interface Supported". I think this is because it is trying to site my object (which is not a control) on a container.
>
>o=createobject("MyContainer")
>
>DEFINE CLASS oleClassExample AS OleControl
> OleClass ="dlltest.jtest"
>ENDDEFINE
>
>DEFINE CLASS MyContainer AS form
> ADD OBJECT oleObjectExample AS oleClassExample
>ENDDEFINE
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform