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
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.
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.
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?
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
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?????
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.