CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2000
    Posts
    1

    Using existing interface in VB

    I want to use VB to create a component. This component needs to expose a predefined interface described in a IDL-file with a set IID. Does anybody know if this is possible, and in case how it is done?

    Thanks in advance
    Pål


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

    Re: Using existing interface in VB

    I'd try to create a typelib from your ODL file using MKTypeLib utility, add that to the references of your project and then use VB's Implements feature.
    (haven't done that before, though)


  3. #3
    Join Date
    Jan 2000
    Location
    Dallas, Texas
    Posts
    4

    Re: Using existing interface in VB

    For info on Implements, go to msdn.microsoft.com and check out the library. They have a book printed there called Hardcore Visual Basic. It has a very good explanation of how to use the Implements feature.

    Kevin


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