• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 363
  • Last Modified:

My VB6 app as a VB.NET DLL?

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!
0
codefinger
Asked:
codefinger
3 Solutions
 
MattiCommented:
Hi!

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.

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

       http://msdn.microsoft.com/en-us/library/ms973800.aspx

Hope it helps.
0
 
CodeCruiserCommented:
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now