Results 1 to 2 of 2

Thread: Using a .NET assembly as a COM ActiveX

Threaded View

  1. #1

    Thread Starter
    Lively Member neodatatype's Avatar
    Join Date
    Aug 2002
    Location
    Italy
    Posts
    103

    Question Using a .NET assembly as a COM ActiveX

    Hi all!

    I've a simple question, but I cannot find a working example for it:

    I've my lillte .NET class, say:

    Code:
    class MyClass
    {
    public void DoSomething()
    {}
    }
    Now, I want to use it as a COM object, say in Visual Basic 6.

    I know I can do it using System.Runtime.InteropServices, but no idea about hai to use it...

    Someone can help me?

    Thanx!
    Last edited by neodatatype; Aug 17th, 2003 at 02:18 AM.
    > NeoDataType.net <

    Try my Free .Net Reporting Tool!

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