Installing a Visual Basic 6 Application

I have written a program in VB6, which works perfectly on Win95/98 machines.  One person has tried to run it on an NT4 Workstation, and it keeps coming up with Oleaut32 errors.  Not too familiar with NT, I left well alone.  He's now asking me for help after exhauting his resources.

Would a service pack fix this problem?  I have sent him the Oleaut32.dll from my 98 machine which didn't fix the problem.
Any ideas would be appreciated, but an answer would be great!!!!!
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Did you reregister the OLEAUT32.DLL file?

>regsvr32 oleaut32.dll


Which Service Pack is he using?  I don't think it's a wise idea to use a Win98 dll.  

Post the exact error message.  That wouuld help alot.

nu2vbAuthor Commented:
I'm not too sure what he's using (and neither is he!)

I'll get him to give me the message exactly as it reads.  It was definitely an Oleaut32.dll problem.

He's even had his (supposed) guru looking into it, but can't work it out,
Is there anything special needed to run a Win 95/98 app using an Access database on NT ?  

I'll get back to you once I find out the exact message!

Thanks again.
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.


One thing is for sure:  you have to have the right data access components installed.  Are they included in your packaged.  The file is called mdac_typ.exe (or alike).

Note that VB6 applications require sp3 on NT. Also, when the installer of your VB application updates OLEaut32.DLL on an NT machine, you generally have to reboot because OELaut32.dll is locked by other applications. Did you reboot after the installation completed? Are you sure your installer updated OLEaut32.dll?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
nu2vbAuthor Commented:
Unfortunately, he's given up with it.

But it's handy to know for next time (the service pack part especially).

Thanks to all who responded!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.