troubleshooting Question

FileDialog causes crashes

Avatar of dynamictiger
dynamictiger asked on
Microsoft Access
4 Comments1 Solution821 ViewsLast Modified:
I have been playing around with a few Access books on various ways to relink my tables on startup. The technique I liked uses Access 2002 Office Object 10.0 library FileDialog. Sagekey Runtime lists Office Object 10.0 library as being distributable.

However, whenever i try and run this with a runtime switch (not packaged yet) the application crashes on a runtime error. I thought it was something I did so I tried the books sample chapter mdb as well and got the same result.

I tried staging message boxes through the code and the crash seems to occur in the code

set objFileDialog=Application.FileDialog(msoFileDialogOpen)

With objFileDialog

It does not move past this point as I have a message box immediately after this section that is not poping up.

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros