Results 1 to 2 of 2

Thread: how do I create an .NET active x dll

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2003
    Location
    USA
    Posts
    10

    how do I create an .NET active x dll

    Hi;

    I have a vb6 active x dll that I call from some of my windows script host (WSH) VBscript. I would like to convert this DLL to .NET.

    In vb6, creating an active x dll required selecting a active x dll type from the project dialog. I don't see this option in .NET any more.

    There is a class library template option in the .NET. Is this the replacement to the active x option in vb6?

    Also, with my current dll, I had to register it using regsrv32. If I create a .NET class library, will I be able to access it from VBScript, JSCRIPT, PERL and the like?

    I would appreciate pointing me to a web sample or reading material.

    Thanks

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    There is no point in doing that. You would have to virtually rewrite the dll into a .NET assembly, there is no such thing as ActiveX anymore. then you would have to create an ActiveX wrapper dll to call the .NET dll. Waste of time and resources. The dll already works as is, so use that one you have.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

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