[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 308
  • Last Modified:

VB5 to VB6

I'm about to get a new machine, and it will have VB6 installed. All of my apps are written in VB5. What kind of issues are there to worry about? Note, this is NOT an upgrade. I will be copying the project files from my old machine with VB5 to the new machine with VB6.
0
MoMarvi
Asked:
MoMarvi
  • 4
  • 2
  • 2
  • +3
1 Solution
 
caraf_gCommented:
Should be OK
<knock wood>
0
 
LorenGCommented:
We have had to install the custom controls from vb5.  The install app allows for a controls only install.
0
 
mcriderCommented:
Knock on caraf_g, I mean wood...

It will work...

When you open your project, the system will popup a message that says this was saved with a previous version... Upgrade control?.... or something like that.

You may need to click OK a couple of times but the project will load...


Cheers!
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
Éric MoreauSenior .Net ConsultantCommented:
You should updrade your controls to the one of VB6 with a small utility given by Microsoft which will change references for you.

You can get this utility from: http://msdn.microsoft.com/vbasic/downloads/download.asp?ID=088

0
 
YellowSnowCommented:
You could also choose to keep the old controls
0
 
mcriderCommented:
emoreau,

NOT NEEDED... Only the source files are going to be moved to a system that has VB6 installed!

0
 
Éric MoreauSenior .Net ConsultantCommented:
mcrider,

What happens if controls are not there? You will open the project and have couples of controls replaced by picture control!
0
 
MoMarviAuthor Commented:
As for the controls showing up as picture boxes, I open the project, find the controls I need, add them to the project manually, remove the project without saving, and reload the project. This has worked when I moved a project from one machine to another.

I was just worried about compatability.
0
 
Éric MoreauSenior .Net ConsultantCommented:
No problem as long you don't have variables with the name of the new reserved words (like Replace, Split, Join, ...).

I have upgraded a couple of VB5 project to VB6 without any problems.

While we're on it, be sure to have SP3!
0
 
MoMarviAuthor Commented:
You mean VB5 SP3
0
 
Éric MoreauSenior .Net ConsultantCommented:
Yes.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 2
  • 2
  • +3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now