0

Hi,
I have created a Visual Basic program that uses MSFLEXGRIDS combined with Data controls.

This works fine in VB6 IDE, but when i try and ue the exe file the errors occur. When i try to open a form that contains the flexgrid, an error occurs called error '525' Data access Error!

I have tried running the program on many PC's that have VB6 and it is successful, but when i try running the exe on a PC without it, it encounters the error.

I think if this is working with VB6 installed. then it must be a DLL error that is occuring. I have installed the following DLL files and registered them, but the error still occurs;

DAO360.dll
comcat.dll
comdlg32.ocx
dbgrid32.ocx
msbind.dll
MSEXCL35.dll - Because i am using Excel within the app
MSXBSE35.dll
MSCAL.OCX
mscomct2.ocx
msstdfmt.dll
mspdox35.dll
msexch35.dll
MSJET35.DLL
MSJET40.DLL
msvbvm60.dll
mstext35.dll
msxbse35.dll
oleaut32.dll
olepro35.dll
TABCTL32.OCX
vb5db.dll
VB6STKIT.DLL
vbajet32.dll

Please help me with this as it is killing me. And any Dll's that are not needed please explain because this is the first time i am using them.

Please help!

Thanks Matt :sad:

3
Contributors
2
Replies
3
Views
10 Years
Discussion Span
Last Post by QVeen72
0

Hi,

Use a Package and Deployment Wizard and create a set-up package for your project and Install in the other machine. It will take care of registering all the ocx and dll's used in your project.

Regards
Veena

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.