Results 1 to 2 of 2

Thread: How to add COM functionality to a control library

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2004
    Posts
    1

    How to add COM functionality to a control library

    I have created a class in VB .NET with a public interface, compiled as a user control library (DLL). However, I am learning that VB .NET doesn't really support COM in the way of registering DLL's, etc. I need to be able to register the DLL so that I can access the interface from scripts and other applications.

    Is there some code that I need to include in the DLL to allow it to be registerable? Or is there another way that I may achieve my goal? Whatever method used, it has to be automatic and scriptable (for instance, I can now script the registering of my current DLL created in VB6, without user intervention, at login).

    Additionally, I have checked "Register for COM Interop" in the Properties dialog. After doing that, I then get the following error when trying to register the control:

    "MyControl.dll was loaded, but the DLLRegisterServer entry point was not found. This file can not be registered."

    Thanks and let me know if you need any more info...

  2. #2
    New Member
    Join Date
    Feb 2004
    Posts
    5
    friend,
    I'm having the same problem as well....
    pls email to me when u ha settle this kind ofproblem...

    [email protected]
    thank you very much

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