Discussion Locked

Open file dialog in runtime access 97, e

0 helpful
8 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I am getting an error: Object doesn't support this property or method, When attempting to open a common dialog get open file in a runtime access 97 database created using wise installer with a sagekey script. The libraries are there, after install there is no prompt for a reboot, the application works great otherwise. The application always works on the development machine. and not on others. Win95 is the operating system. The get/open file dialog needs to be there for the users. Why amI getting this error and most importantly, how do I fix this now!

8 replies

by mcorr

I have had problems with this also, and I even have an open question on this forum with no useful responses.

I think the problem is the dll you are trying to use is not registered. In my application I have to manually register the control on each PC after installation. This may or may not be a solution for you, since I only had three PCs to roll out to.

by robert.f.collins

The libraries were all correctly registered. It would not function if the properties were set on the control's custom properties dialog box. It did work if the properties were set in code from the module that called the functions.

by todd parker

For lack of response, I will offer an experience of mine. I've gotten the same exact error, but with a different reference. What i found (in my case) was that the clients have one or two problems. They either have multiple mismatched DLL's by the same name on the hard drive, or the same scenario but in the registry. This will cause the error every time. What I did to get around it? I placed explicit referencing everywhere in my code that called that reference. For instace: instead of calling Date(), you would call VBA.Date()

Good luck,
-Parker

by robert.f.collins

The libraries were all correctly registered. It would not function if the properties were set on the control's custom properties dialog box. It did work if the properties were set in code from the module that called the functions.

by lyxx

May be problem not in dialog. If you using ADO control for access to Data, you need install MSDAC first.
For detailed solution problem you need determinate in which sring of code error is raised. For example you can using msgbox, and see after which of it error pop up.

by robert.f.collins

The libraries were all correctly registered. It would not function if the properties were set on the control's custom properties dialog box. It did work if the properties were set in code from the module that called the functions.

This discussion is closed to new replies.