|
-
Aug 15th, 2000, 10:40 AM
#1
Thread Starter
Lively Member
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
It's a small world but I wouldn't like to paint it.
-
Nov 5th, 2002, 11:13 AM
#2
Hyperactive Member
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.
Simon Caiger
Documentation is like sex; when it's good, it's very, very good, and when it's bad, it's better than nothing.
-
Nov 5th, 2002, 11:16 AM
#3
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
-
Nov 5th, 2002, 11:20 AM
#4
Hyperactive Member
Cander,
Thanks for the reply.
I'll give it a try.
I'm not a poet....Honest!!
Simon Caiger
Documentation is like sex; when it's good, it's very, very good, and when it's bad, it's better than nothing.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|