Results 1 to 3 of 3

Thread: [RESOLVED] VB6 to VB.net help!!!

  1. #1

    Thread Starter
    Hyperactive Member LawnNinja's Avatar
    Join Date
    Aug 2006
    Posts
    446

    Resolved [RESOLVED] VB6 to VB.net help!!!

    I just got Visual Basic 2005 express and I tried to import my VB6 Project. It is a very large project and when it was done it's import it sayed that I had 106 errors and 2 Warnings. My original vb6 project worked perfect. How do I get my Project to Compile properly? Do I have to manualy fix all the errors? Is there an easier way?

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: VB6 to VB.net help!!!

    Yes you manually fix all the errors. VB 2005 is NOT VB6. There are a lot of changes and the upgrade wizard is a courtesy only. It cannot create a fully working VB 2005 app form VB6 code in any but the simplest cases. Even then the code will probably be something most developers would be ashamed to have written from scratch. Most people suggest not using the upgrade wizard at all. Rewriting from scratch helps you learn and ensures that, up to your ability at least, your app contains "proper" VB.NET code and not a series of hacks to get it to work like it did in VB6.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Hyperactive Member LawnNinja's Avatar
    Join Date
    Aug 2006
    Posts
    446

    Re: VB6 to VB.net help!!!

    Ok then thanks. I guess I'll be learning things all over again.

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