Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Converting a VB6 app to VB.net

  • 08-02-2006 11:33am
    #1
    Registered Users, Registered Users 2 Posts: 2,073 ✭✭✭


    Hey all,

    I'm trying to convert a VB6 application to VB.net.

    I ran the upgrade wizard in VB.net and it seemed to work fine, no errors appeared.

    However, when I try to run the application I get several errors.

    The application ran perfectly in VB6 so there was no errors to begin with!

    Could anyone offer any advice?


Comments

  • Closed Accounts Posts: 3,357 ✭✭✭Beano


    It would be helpful if you told us what errors you are getting.


  • Registered Users, Registered Users 2 Posts: 2,073 ✭✭✭jamieh


    There's literally about 100, i think I'll leave it. Going by articles on the net it isn't as simple as it sounds!!

    Thanks anyway!!


  • Registered Users, Registered Users 2 Posts: 2,758 ✭✭✭Peace


    I tried the wizard once of twice. Never worked.

    Maybe the MS Dev's only tested it on a hello world applicaton.

    Only joking MS Dev's... i lub you


  • Registered Users, Registered Users 2 Posts: 2,757 ✭✭✭masterK


    There are quite a few things that there is no direct replacement for in .NET that you will have to manually recode, the upgrade wizard will only do so much.


  • Moderators, Education Moderators, Motoring & Transport Moderators Posts: 7,396 Mod ✭✭✭✭**Timbuk2**


    OP, if you post your code I will try to help you to see what is wrong. VB.NET is a completely different language, the only things the same would probably be the If blocks and the loops!!!

    But there is much better things you can do in it much easier now

    Also one thing that dissapointed me was control arrays are not easy to do now, you have to create them at run-time, as there is no index property on any controls, and copying and pasting controls doesn't work either


  • Advertisement
Advertisement