Results 1 to 7 of 7

Thread: Path/File Access Error to Dependency files on a Limited account

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2007
    Location
    Napier, New Zealand
    Posts
    4

    Path/File Access Error to Dependency files on a Limited account

    I created a program using VB6 which has many dependency JPG files. All files are installed in the same subfolder folder of Program

    Files folder using Package and Deployment Wizard. in VB6.
    Everything works fine on WinXp Administrator account however I get an error when that account is a Limited Account. (path/File Access Error with the named jpg file).
    How can I get the program to run on a Limited Account? Can I add something in the program code?
    I used the following code to get pictures to load:
    ImgOutput.Picture = LoadPicture(App.Path & "\" & (Val(Data1) & ".jpg"))


    I appreciate any feedback.
    Thanks
    Klaas

  2. #2
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Path/File Access Error to Dependency files on a Limited account

    One thing you may need to take in consideration is how App.Path is returned with or without the slash.

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2007
    Location
    Napier, New Zealand
    Posts
    4

    Re: Path/File Access Error to Dependency files on a Limited account

    Could you explain more?

    The error I get is:
    75 -Sub select(QuestionRange- :Path/File access error.

    As I said, everything runs fine when it is run from an Administrator account.

  4. #4
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Path/File Access Error to Dependency files on a Limited account

    Oh, I thought you meant a Vista Limited Account.

    What limitation do you have on that account. It should be able to access it's own files. What is the installation folder name?

  5. #5

    Thread Starter
    New Member
    Join Date
    May 2007
    Location
    Napier, New Zealand
    Posts
    4

    Re: Path/File Access Error to Dependency files on a Limited account

    All the files (including the dependency jpg's) are automatically installed in a subfolder of the folder Program Files by the Package and Deployment Wizard in vb6

  6. #6
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Path/File Access Error to Dependency files on a Limited account

    Quote Originally Posted by randem
    What limitation do you have on that account. It should be able to access it's own files. What is the installation folder name?
    Answers?????

  7. #7

    Thread Starter
    New Member
    Join Date
    May 2007
    Location
    Napier, New Zealand
    Posts
    4

    Re: Path/File Access Error to Dependency files on a Limited account

    The limitations are the normal default settings for a limited account in WinXP, whatever they are.

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