|
-
May 19th, 2007, 09:47 PM
#1
Thread Starter
New Member
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
-
May 19th, 2007, 11:30 PM
#2
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.
-
May 19th, 2007, 11:58 PM
#3
Thread Starter
New Member
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.
-
May 20th, 2007, 12:02 AM
#4
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?
-
May 20th, 2007, 12:20 AM
#5
Thread Starter
New Member
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
-
May 20th, 2007, 12:26 AM
#6
Re: Path/File Access Error to Dependency files on a Limited account
 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?????
-
May 20th, 2007, 12:43 AM
#7
Thread Starter
New Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|