Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to keep VB ActiveX alive and call it from VFP?
Message
From
05/10/2000 11:45:08
 
General information
Forum:
Visual Basic
Category:
ActiveX controls
Miscellaneous
Thread ID:
00425241
Message ID:
00425354
Views:
25
>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!! :)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform