My VB6 app as a  VB.NET DLL?

Posted on 2011-10-15
Last Modified: 2012-05-12
I was working with some legacy code and I used it to build a VB6 application that uses ActiveReports 2.0 to convert Microsoft INK files  (OIN extension) to PDF files.

I have only 3526 files to convert, then I will never need this again, so I could stop here, but I was just wondering....

Is it possible to use some of the same code and create a dll file with VB6 that could be referenced and used by a VB.NET web form or winforms application?  If so, how would that be done?   (I am not very experienced with creating independent controls in either environment, but open to learning.)

Thanks in advance!
Question by:codefinger
    LVL 14

    Assisted Solution


    If you have VB 6.0 Ent edition there is option caled "remote server files" on ActiveX project, that creates typelib for your dll and that can be referenced in .NET

    If you lucky you can found somewhere how to setup VB pro in Ent mode but I can not tell further.

    LVL 38

    Accepted Solution

    I have this reference in my notes.  I believe it is what Matti is referring to:


    Hope it helps.
    LVL 83

    Assisted Solution


    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    The CRUD Functions CRUD, meaning "Create, Read, Update, Delete (,_read,_update_and_delete)" is a common term to data base developers.  It describes the essential functions of data base table maintenance.  This art…
    Introduction A frequently used term in Object-Oriented design is "SOLID" which is a mnemonic acronym that covers five principles of OO design.  These principles do not stand alone; there is interplay among them.  And they are not laws, merely princ…
    Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
    Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now