Advertisement

03.31.2008 at 08:56PM PDT, ID: 23284757
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.8

Dir() function generates error 52 bad file name or number

Asked by dougmurph in Access Coding/Macros

Tags: , , , , ,

We have a runtime application that has been distributed to many users.  We have a new user who is running our software, runtime in Access 2002 on Windows XP Pro.  When the program opens the first time the relinker does a test to see if the back end is where it is supposed to be using the dir() function.  In this case the recommended path is in a table and we test against that.  If it isn't there a dialog is opened so the person using the software can locate it with the File dialog.  We have been using this for years with no problem.  Now this client gets a "error 52 bad file name or number" error message on the module that does the BE location checking.  I looked in the module and the only place it could be generated is a line with the Dir() function.  My assumption is something is hosed with the Access runtime installation.  We have tested the installation disk in every way we can and can not get the error. I have done every thing I can think of to the Dir function and I can't recreate it.
 
Assuming a reinstall does not fix the problem any one have any more thoughts on places to look.  I did a Google search on this and the only problems I can find with Dir() are when it is used with network drives.  This isn't the case here, everything is on the C drive.Start Free Trial
[+][-]04.01.2008 at 08:43AM PDT, ID: 21255055

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.01.2008 at 09:10AM PDT, ID: 21255357

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.01.2008 at 10:07AM PDT, ID: 21255967

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.01.2008 at 04:39PM PDT, ID: 21259062

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.01.2008 at 05:07PM PDT, ID: 21259173

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.15.2008 at 10:28AM PDT, ID: 21360732

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Access Coding/Macros
Tags: microsoft, Access, 2002, Runtime, VBA, error 52 bad file name or number
Sign Up Now!
Solution Provided By: dougmurph
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628