CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2001
    Location
    Singapore
    Posts
    21

    Testing ActiveX Classes in VB Group Project

    I need advice to integrate an ActiveX dll project and a executable file to test. I am trying to create a group project to test my class. But in my test form in the group project environment, VB does not recognize the my class when I try to "new" it. Any one can help? Thanks.

  2. #2
    Join Date
    Apr 2004
    Posts
    14

    See the references

    you must have forgot to create a reference to your activex dll project in your test application project. try to create one.

  3. #3
    Join Date
    Nov 2001
    Location
    Singapore
    Posts
    21
    OK. I got that part sorted out. Thanks for the pointer. Now I have new problem. Once I strat running the test prog, I keep getting the error msg "Class does not support Automation or does not support expected interface". Any thing I can do?

  4. #4
    Join Date
    Apr 2002
    Location
    Egypt
    Posts
    2,210
    check the instancing property for the class
    check that it's public
    Hesham A. Amin
    My blog , Articles


    <a rel=https://twitter.com/HeshamAmin" border="0" /> @HeshamAmin

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