DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Reflection Class in VB6

  1. #1
    Join Date
    Dec 2004

    Reflection Class in VB6


    Which dll we can use in Visual Basic if we want the features of System.Reflection [.NET]?
    I like to read all properties, methods and events of a particular control or dll written in VB6 and I like to invoke some methods of dll from another application. Using Reflection in .NET, these task is very easy for developers.
    How about in VB6?
    Thanks in advance.
    Any Idea would be greatly appreciated..
    Best Regards,
    Michael Sync

    The more you share,The more you get

  2. #2
    Join Date
    Nov 2003
    Portland, OR
    Phil Weber

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  3. #3
    Join Date
    Dec 2004
    Thank you. Phil. It's very useful for me.
    Actually, I was also finding about this in google but i used wrong keyword like "VB6 Reflection Class" or etc.....
    Thanks again..
    Best Regards,
    Michael Sync

    The more you share,The more you get

  4. #4
    Join Date
    Dec 2004

    Could anyone please tell me the way to get the function that has a specific tag?
    Suppose I'm creating automation project. I have to create two project, one for writing automation script [eg: ControlTestingScript Project] and another for testing script from frist project [ eg: ControlTester Project]. In ControlTestingScript project, I write one procedure as following to test one property of control..
    Public Sub Control_BackColorTesting()
    End Sub
    I like to get this method of ControlTestingScript.exe from ControlTester, then I like to invoke this method. [In .NET, we can invoke easily using System.Reflection.]. I tried to get this method of ControlTestScript.exe using TypeLib but one error come out "The specified file could not be found, or the file doesn't contain a valid typelib."

    How can i access and invoke all methods of ControlTestScript.exe?

    Thanks in advances.
    Best Regards,
    Michael Sync

    The more you share,The more you get

Similar Threads

  1. Help with class/applet
    By none_none in forum Java
    Replies: 17
    Last Post: 04-28-2005, 03:00 PM
  2. Question: Access a VB6 class object from C/C++
    By John J in forum VB Classic
    Replies: 6
    Last Post: 11-29-2001, 01:47 PM
  3. How To Do It - Shared Class Variables Part IV
    By Patrick Ireland in forum .NET
    Replies: 3
    Last Post: 05-07-2001, 03:04 PM
  4. WinForm Compile Error
    By Robert in forum .NET
    Replies: 1
    Last Post: 10-24-2000, 11:38 AM
  5. Newbie question: Calling method in class
    By Gary J. in forum Java
    Replies: 4
    Last Post: 09-17-2000, 05:18 PM

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
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

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