Results 1 to 5 of 5

Thread: Run-time error '75': Path/File access error

  1. #1

    Thread Starter
    Hyperactive Member PITBULLCJR's Avatar
    Join Date
    Nov 1999
    Location
    New York
    Posts
    408

    Post

    Ok I downloaded an old version on to one of the teachers computers just so she could get started with making the vocab lists. The first time i started it up it ran fine but then the second time the splash screen came up then this error came up.
    Run-time error '75':
    Path/File access error
    I resarted the comp and same thing i reistalled it and same problem. do you have any suggestions? Here is the installation package. Remember this is old version like 2 weeks old I have added much more. http://www.angelfire.com/yt/PITBULLCJR/VocabBuilder.zip you need winzip to unpackage it. Here is the un packaged source code for ya if you can like get it to work it fits on a disk. http://www.angelfire.com/yt/PITBULLC...bBuilderSC.zip .
    If you could help me with this one i would be truly grateful!!!
    Sincerely,
    Chris

    ------------------
    Sincerely,
    Chris
    :-) ;-)
    just have fun out there and live life to the fullest while it is still here
    Email [email protected]



    [This message has been edited by PITBULLCJR (edited 02-07-2000).]

  2. #2

    Thread Starter
    Hyperactive Member PITBULLCJR's Avatar
    Join Date
    Nov 1999
    Location
    New York
    Posts
    408

    Post

    Someone please help!!!! I need to find out what is wrong!!

    ------------------
    Sincerely,
    Chris
    :-) ;-)
    just have fun out there and live life to the fullest while it is still here
    Email [email protected]


  3. #3
    New Member
    Join Date
    Jan 2000
    Location
    Glasgow, Scotland
    Posts
    7

    Post

    I downloaded your Vocabulary prog's source code and had a good old look around. However, it seems to work fine on my system. Their are only a couple of things that I can think of that may be of some use to you (then again, maybe not!!).

    1. When your program starts it looks for the vocab lists folder. You should maybe consider that if that is not present, your application creates it at startup. Otherwise your user will recieve an error 76, path not found.

    2. Did you install the application onto a machine running Windows NT, or a machine which is running on a network which you log into?? If this is the case, and you installed the application whilst logged in under your own user account, then it could be that you are the only one with the privalages to access all or part of the application. This would mean that if your teacher was running it under her account, she may be locked out of certain parts of it, especially the sub folders which you use such as the 'vocab list' folder. If this is the case, you would want to change the privalages to grant permission to everyone.

    Hope this helps, but as I said, it worked fine here. Although, I never downloaded your distribution only the source.

    SC.

  4. #4

    Thread Starter
    Hyperactive Member PITBULLCJR's Avatar
    Join Date
    Nov 1999
    Location
    New York
    Posts
    408

    Post

    For your first comment I did add it so that on the first time that it started it made that folder. So I fixed that problem.

    For your second I did install it on Windows NT and I was under the teachers name when I installed it. Right after I installed it like 2 seconds I ran the program without signing off. It ran fine then I went and got the teacher to show her how to use it and I didn't sign off and I started it and the Splash Screen came up and the error popped up. The splash screen didn't get to load all the way because the labels were not there. What went wrong? It crashed every time after that. Please help!!

    ------------------
    Sincerely,
    Chris
    :-) ;-)
    just have fun out there and live life to the fullest while it is still here
    Email [email protected]


  5. #5
    Junior Member
    Join Date
    Jan 2000
    Location
    Edmonton,AB, Canada
    Posts
    30

    Post

    First of all the file path access error occurs when your VB application cannot find the file that it is looking for. You need to check your code to make sure your are actually going to the proper directories.

    Secondly if you have developed you application with VB5 or VB6 both of them have a bug in them that affects this as well. The bug is that when you use the App.Path to retrieve the path information, VB sometimes (4 out of 10 times during my tests, at least) looses this information and returns a Empty or a Null string which causes this problem. When this happens you need to generate a runtime error and then set up the path information yourself using the Windows API functions which are a lot more reliable. Then resume the application where it failed.

    Thirdly this problem can happen in the .exe and .dll files that are compiled and if it is consistant enough you will need to recompile before the application can be used.

    Following is a excerpt from the MSDN January 2000 help system:

    Path/File access error (Error 75)
    During a file-access or disk-access operation, for example, Open, MkDir, ChDir, or RmDir, the operating system couldn't make a connection between the path and the file name. This error has the following causes and solutions:

    The file specification isn't correctly formatted.
    A file name can contain a fully qualified (absolute) or relative path. A fully qualified path starts with the drive name (if the path is on another drive) and lists the explicit path from the root to the file. Any path that isn't fully qualified is relative to the current drive and directory.

    You attempted to save a file that would replace an existing read-only file.
    Change the read-only attribute of the target file or save the file with a different file name.

    You attempted to open a read-only file in sequential Output or Append mode.
    Open the file in Input mode or change the read-only attribute of the file.

    You attempted to change a Visual Basic project within a database or document.
    You can't make design changes to the project.

    I hope this info helps.


    ------------------
    David L. Baudais
    Systems Analyst


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width