Solved

File/Path Access Error ....

Posted on 1998-04-05
6
515 Views
Last Modified: 2008-02-01
I receive this error quite often when I use V.Basic 5.0
     "File/Path Access Error \temp\vbxx.tmp"
where vbxx.tmp is a temp file created (I guess) from vb -different number "xx" every time-.
When this happens I cannot save or run the program I am designing at the moment.
Why is this happening???
0
Comment
Question by:gatzonis
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 6

Expert Comment

by:clifABB
ID: 1460406
There are a couple of reasons why this might happen:
  1. You are almost out of disk space. (most likely)
  2. You have an application running in the background which is constantly deleting temp files it thinks you no longer need.  (least likely)
  3. You deleted the file yourself.  (possible, but I doubt it)

VB needs the temp files it creates _while_it_is_running_.  You can delete vbxx.tmp (all of them) after you close VB.

I submit this as a comment, if it solves your problem let me know and I'll resubmit it as an answer.
0
 

Author Comment

by:gatzonis
ID: 1460407
Well, well...
Your first answer might be right. BUT...
I do have little free space in the hard disk that the application
is saved but not in the hard disk that the temp files are saved.
There are 500MB free space in the latter HD.
Do you think that this can cause the problem?

 Michael

0
 
LVL 6

Expert Comment

by:clifABB
ID: 1460408
I would strongly suggest clearing out some space in the almost full drive and seeing if that will solve your problem.

In the error you note above, you (or VB) didn't specify which drive the \temp\vbxx.tmp file was on.  If VB didn't report this, this could mean that VB is trying to write/read the file on the same drive the application is saved.

Also, just a thought, make sure the temp directory actually exists.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 6

Expert Comment

by:clifABB
ID: 1460409
I would strongly suggest clearing out some space in the almost full drive and seeing if that will solve your problem.

In the error you note above, you (or VB) didn't specify which drive the \temp\vbxx.tmp file was on.  If VB didn't report this, this could mean that VB is trying to write/read the file on the same drive the application is saved.

Also, just a thought, make sure the temp directory actually exists.
0
 

Author Comment

by:gatzonis
ID: 1460410
You wrote...
"VB is trying to write/read the file on the same drive the application is saved. "
I think that this is the problem. I do not have a temp directory
on th HD that the applicaton is saved. I will create one
there and see what happens.
In any case, post your comment as an answer. You've been very helpful.
Thank you..
0
 
LVL 6

Accepted Solution

by:
clifABB earned 20 total points
ID: 1460411
As requested, I repost as an answer.  
Thanks

I would strongly suggest clearing out some space in the almost full drive and seeing if that will solve your problem.

In the error you note above, you (or VB) didn't specify which drive the \temp\vbxx.tmp file was on.  If VB didn't report this, this could mean that VB is trying to write/read the file on the same drive the application is saved.

Also, just a thought, make sure the temp directory actually exists.

0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question