Solved

File/Path Access Error ....

Posted on 1998-04-05
6
520 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
Industry Leaders: 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

Industry Leaders: 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!

Question has a verified solution.

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

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 …
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

717 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