DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: IntelliSense / ActiveX Interogation?

  1. #1
    Dave Britton Guest

    IntelliSense / ActiveX Interogation?


    I am trying to write a "spy" for an ActiveX component - Pretty straight forward,
    I Create or Get an instance of the object and then traverse through it's
    structure.

    However, right now I am doing an ugly hard coded version - because I know
    the properties - I can reference them, but this makes it hard work to maintaon
    as the object evolves.

    What I am wanting to try is to dynamically obtain the structure of the object
    and then using CallByName I can get the relevent values. Much like a combination
    of the Object Browser and the Watch Window.

    Any ideas on where/how I start to interrogate the structure of an object
    dynamically?

    Thanks,
    Dave Britton



  2. #2
    Phil Weber Guest

    Re: IntelliSense / ActiveX Interogation?

    > Any ideas on where/how I start to interrogate the
    > structure of an object dynamically?


    Dave: Use tlbinf32.dll. For more information, see
    http://msdn.microsoft.com/vbasic/dow...oad.asp?ID=094
    ---
    Phil Weber



  3. #3
    Dave Britton Guest

    Re: IntelliSense / ActiveX Interogation?


    GREAT!
    Thanks Phil.

    "Phil Weber" <pweber@devx.com> wrote:
    > > Any ideas on where/how I start to interrogate the
    > > structure of an object dynamically?

    >
    >Dave: Use tlbinf32.dll. For more information, see
    >http://msdn.microsoft.com/vbasic/dow...oad.asp?ID=094
    >---
    >Phil Weber
    >
    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center