Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Compatibility Problem B/w VB5 And Vb6

Compatibility Problem B/w VB5 And Vb6

Compatibility Problem B/w VB5 And Vb6

I developed a package in VB5.When I install Vb 6 on the same machine and rebuild tha app on Vb5,the application will fail to run giving VBAjet322.dll fail to initialize

When I remove VB6 and try it ,it will work.Does it mean I should not have both on the same system.

RE: Compatibility Problem B/w VB5 And Vb6

I would guess that 5 & 6 use different versions of VBAjet322.dll. (pointing out the obvious there...)

You might try this.

1) move the vb5 version somewhere safe
2) install vb6
3) fire up vb5 and your project - and make sure it refers to your "somewhere safe" version of the .dll

That *might* work. It's not the only thing that breaks when you install vb6 on a vb5 machine - it also stuffs the help files and then doesn't put them back the way they were when you un-install....


RE: Compatibility Problem B/w VB5 And Vb6

What you might have to do is force each version to install their dlls in separate directories, then write a batch file which registers the appropriate set depending on which version of VB you want to run.

We've had similar problems with a different program, and I now have a pair of batch files on my machine to register the appropriate dlls using REGSVR32

something like

c:\winnt\system32\regsvr32 c:\windows\system\vb5\yourfile.dll

Just a thought,


RE: Compatibility Problem B/w VB5 And Vb6

See my response to Bishop72 in the "Creating Setup Files" thread.

Chip H.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close