Results 1 to 7 of 7

Thread: I Need Help....!!

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2005
    Posts
    9

    Exclamation I Need Help....!!

    hey guys...!

    I recently made a video rental system in VB6 and it works well, its a project for Uni...

    But i found out it has to be made in .NET...!

    So, is there any way of converting VB6 to .NET quickly...???


  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: I Need Help....!!

    There is a vb6-vb.net upgrade wizard but it produces ugly code.

  3. #3

    Thread Starter
    New Member
    Join Date
    Apr 2005
    Posts
    9

    Re: I Need Help....!!

    where do i get this from.....???






    thanks!

  4. #4
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,106

    Re: I Need Help....!!

    The frog didn't add this: DON'T GO THERE!!

    I think the wizard comes with some visual studio versions, but I have never looked for one simple reason: It reeeaallly sucks!

    You might be better off doing it by hand. The syntax hasn't changed much between the two languages, though the design has changed pretty dramatically.

    You can pretty much design forms the same way as you did in VB6, then copy the code from control events in the old to control events in the new. Of course, you will get many compile errors for the places where things changed, but the general flow of the code will remain the same. If the project isn't too big, this is probably a poor option, but better than the conversion wizard.
    My usual boring signature: Nothing

  5. #5
    Frenzied Member zaza's Avatar
    Join Date
    Apr 2001
    Location
    Borneo Rainforest Habits: Scratching
    Posts
    1,486

    Re: I Need Help....!!

    Hm, funny how you wait years for a program to deal with video rentals and then two come along at once...

    Really, as the Shaggy One suggests, don't do it. What might have been an A grade VB6 project will turn into an E grade .Net project, and it will be really obvious what you've done to boot.

    There isn't too much difference between vb6 and .net in the end. The easiest way to do it properly, if you have the time, is definitely to redesign the form and then copy the code to the controls one by one. It will automatically underline where you have something wrong, not declaring variables and such like, and then you just go through those one by one as well.




    If it needs to be in tomorrow, the Upgrade wizard is included with VB.Net

    zaza

  6. #6
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,106

    Re: I Need Help....!!

    If you are working on it now, and it ISN'T due tomorrow, you aren't the kind of student I was
    My usual boring signature: Nothing

  7. #7

    Thread Starter
    New Member
    Join Date
    Apr 2005
    Posts
    9

    Re: I Need Help....!!

    thanks for the help guys....

    i'll try do something with it...!

    to be honest im really no good at this VB stuff...!

    i'll let y'all know how i get on...!

    thanks!

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