DAO Doesn't work after recompile with VS 2005

Using DAO functionality (I know I need to use ADO, but don't have the time right now)
If I compile the project in VS 6, it works fine
Compile in VS 8, I get this error -2147221164 on a Windows 98 machine.
I installed DAO 3.5 on the machine, but it didn't fix the problem.
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.

Do you follow steps in the following post to deploy your application?
Running an .exe file compiled in VC++ 2005 on a different computer
Also at this link and check to see if you have latest MDAC version installed on the target system.
Eduard GherguLeader SibiuCommented:

You can have a look at:
http://msdn2.microsoft.com/en-us/library/1s0dx3s7.aspx  (Calling DAO Directly While Using MFC DAO Classes)
http://msdn2.microsoft.com/en-us/library/yb6xfda3(VS.80).aspx (Custom DFX Routines for DAO Database Classes)

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
newbie-netterAuthor Commented:
Thanks for the input.  I intend to try Lakshman's idea next time I have access to this computer.
It does work OK on Win2K machines.
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
Visual C++.NET

From novice to tech pro — start learning today.