-
I've seen some posts on the various forums about sharing DLLs/ActiveX's between programs but none seem to answer my question....
I've a single instance ActiveX EXE which is created in one VB program (A). I've another VB program (B) which, at the moment, only needs to get some information from that ActiveX which has been set by (A).
Is this possible? Program B does not need to set any values in the Active EXE. At the moment my work-around is to have Progam A write to the Registry before passing the values to Active Thang; B reads the registry - it works but it's a bit nasty.
-
Anakim,
I have a similar problem.
I have an ActiveX.exe with which I want to share data between two apps.
I can get a single app running with the ActiveX but when I run a second app, I can't see the data being changed by the first app.
I think the problem is to do with multiple instances but I can't figure out how to fix it.
Did you ever resolve your problem?
If so some help would be appreciated.
-
you would need to use GetObject to get an running isntance of the class. Here is how to use GetObject with an ActiveX
http://www.vbforums.com/showthread.p...etobject+class
-
:)
Cander,
Thanks for the reply.
I'll give it a try.
I'm not a poet....Honest!!