Contact US

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

VB 4.0 Setup Problem - OLEAUT32.DLL

VB 4.0 Setup Problem - OLEAUT32.DLL

VB 4.0 Setup Problem - OLEAUT32.DLL


Has anyone come across the following problem:

I am installing a VB4.0 app onto a Win95 OSR2 machine with the latest version of OLEAUT32.DLL (i.e. MS OLE Update applied). The master development machine (VB4) contains the OLE versions as at the time of the VB 4.0 CD (i.e. earlier).

When the setup.exe is run, all runs fine until OLEAUT32.DLL is to be copied. I understood (and the log files seem to confirm) that only newer files are copied from installation disks. However, the error message 'Access violation' is displayed on OLEAUT32.DLL and setup is aborted.

If you ignore the error, the OCX's then fail to regoster.

Any ideas?



RE: VB 4.0 Setup Problem - OLEAUT32.DLL

This problem usually occurs when a file is in use by another application. In your case you don't want to update it any way because the OLEAUT32.dll is older than the target system. If OLEAUT32 is on the target it already registered so don't worry about it. When you press ignore(I'm assuming the install program asks/Allows this)the install program should proceed as normal ( I've run across this several times and it processes normal in VB5 and 6). If the files don't register properly, you can always use REGSVR32.exe to register them. Hope this helps.

RE: VB 4.0 Setup Problem - OLEAUT32.DLL

Thanks for the reply.

I've tried the route of ignoring the error and manually registering the OCX, and initially this failed. When I finally got it to work (using Regdrop a great utility from Addision software (I'm not connected with them BTW)) the application reported an 'Error loading from file' message (which MSKB indicates as being an OCX registration problem) at the point the OCX is loaded.


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