Convert .bas file from vb6 to .net

Posted on 2006-04-04
Last Modified: 2012-08-13
If I need to convert vb6 to, what should I do for the original .bas file.


Question by:turbot_yu
    LVL 85

    Assisted Solution

    by:Mike Tomlinson
    Create a VB6 project with the .bas file in it and then open that VB6 project in .Net and it will convert it for you using the Upgrade Wizard.

    Though in most situations you need to manually tweak the code to get rid of errors.

    Usually it's best just to rewrite the code from scratch so you can take advantage of the new abilities of the .Net framework.

    Author Comment

    How to open the proj in

    Seems not recognize the proj file of vb6 by .net
    LVL 85

    Accepted Solution

    Click on File --> Open and select your VB6 project file.

    The Upgrade Wizard should start automatically...
    LVL 21

    Assisted Solution


    Author Comment

    I open the project file by .net, but only  get the code inside.

    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

    1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
    It’s quite interesting for me as I worked with Excel using for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…

    728 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

    18 Experts available now in Live!

    Get 1:1 Help Now