vb5 to vb2005 express

How can i convert my vb5 sources to vb2005 without vb6

Answer this question

vb5 to vb2005 express

  • ewitkows

    I'm converting from vb5 to vb2005 express, not to vb6, but I don't think you should have any problems at all, since vb6 is backward compatable to vb5. Converting to vb2005 is quite different, some commonly used features are missing in vb2005.


  • Michal Golawski

    Hi,

    I need to migrate VB 5.0 code to VB 6.0. When I opened vb5 project file in vb6, it was opened. That was not a problem.

    But are there any things that should be considered while converting vb5 code to vb6. Any help would be appreciable.

    Thanks,

    August97


  • SelArom

    Okay, I didn't know whether it'd open a VB5 project: that's the way to convert VB6 projects. Good top know it opened. However, you have probably a long, up-hill struggle with the converted project.

    Generally, the recommendation would be to keep an existing project in it's native development environment, unless it's fairly trivial. The upgrade process is a simple 'unintelligent' process, and it won't convert to the eqivalent new features in VB 2005 (e.g. file handling or graphics). You will need to go through the whole program to check almost every line for functionality - it may be easier to rewrite, while supporting the existing version, and transitioning to the new version over a period of time.

    Good luck!



  • Stalwart team member

    Yes, I kept the VB5 sources and it's good I did because the project that I'm now almost finished with, it runs but is very very slow, it takes seconds to get to the first statement in the opening form and it stays very slow, really unworkable. I'm now trying to find out what is going on. One thing I found that anything that has to do with size or location is converted from pixels to twips AND back again all the time, and adding indexed controls at runtime takes a very long time. Have you experienced anything like this I wonder if rewriting it would give it the original speed Anyway : VB2005 Express opens a VB5 project file as if it was a VB6 project.

    See you.. Wil


  • Snyper_Vash

    Great, thanks Stephen. it's sometimes so simple you never try. It read the vb5 project file and shows me a couple of hundreds errors and warnings, but now i have something to work with. Some forms don't show, some are correct. Most of the coding seems fine, most errors in declaration sections causing a lot of other errors. Thank you again
  • lknm

    What happens when you try opening the project in VB2005 Express

  • John Mathews

    hoi

    i did't it also like that

    but it dind't work for me.

    From my ten forms, he's only one making it otherwise

    am i doing something wrong

    or how can i fix this

    one other small problem, it is nog actually my program, but i have to fix a problem in it


  • PaulMCiti

    Thanks for information. Are there deprecations made in VB 6, I mean are there any functions, APIs, properties, etc. those work in VB5 but not in Vb6
  • vb5 to vb2005 express