CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    2ActiveXCtrls & Web

    Can't two or more ActiveX-Controls communicate to each other in a direct way.
    Do I must use VBScript or JavaScript?

    Thanks
    Stephan


  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: 2ActiveXCtrls & Web

    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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured