Information générale
Catégorie:
Contrôles ActiveX
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement