Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to keep VB ActiveX alive and call it from VFP?
Message
Information générale
Forum:
Visual Basic
Catégorie:
Contrôles ActiveX
Divers
Thread ID:
00425241
Message ID:
00425354
Vues:
24
>Hi All,
>
>I am playing around VB out-of-process ActiveX, it's new to me.
>Can somebody tell me:
>
>1. How to keep the ActiveX EXE alive if it does not have any forms (just a class module with some properties and methods?
>2. How to register it properly so I could CREATEOBJECT("myVBexe") from VFP?
>I am trying to create the ActiveX which is being instantiated in VFP just sits and wait there until some of it's methods gets called.
>
>I am using CoffeeMonitor as a basic sample.

1.- As long as your variable doesn't go out of scope or you explicitly release it, it should be accessable.
2.- On the development machine that is taken care of when creating the exe. If registering in other PC's then /regserver should do it.

Now, don't try the coffee monitor with callbacks example!! :)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform