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!
codefingerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CodeCruiserCommented:
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.