Click to See Complete Forum and Search --> : 2ActiveXCtrls & Web


January 31st, 2000, 02:08 AM
Can't two or more ActiveX-Controls communicate to each other in a direct way.
Do I must use VBScript or JavaScript?

Thanks
Stephan

Lothar Haensler
January 31st, 2000, 02:25 AM
you could write your AX control so that it queries its container for the current HTML document.
Once you have access to that you can retrieve an instance of any object on the page via the document object model (DOM).
You have to solve at least one problem, though.
Your first AX control might be completely loaded and initalised, before the other one is loaded.
You won't habe that problem with VBScript.