Page 1 of 1

Permissions Error

Posted: Sun Aug 22, 2010 9:21 pm
by hungryhounduk
Hi all

I am making an addin for the sidebar and everytime i try and access a Flash File from my resources i get a Permissions Error, I am on windows Vista, and that permissions is really starting to bug me, i never had this problem with XP :(

Is there a quick fix?

Chris

Re: Permissions Error

Posted: Sun Aug 22, 2010 11:03 pm
by CodenStuff
Hello hungryhounduk,

You know im not a fan of vista/7 or use them but I think it has something to do with admin permissions, can you right-click on a folder/file and change its access permissions to "run as administrator" or something like that?

What does the error say?

Re: Permissions Error

Posted: Mon Aug 23, 2010 6:15 am
by hungryhounduk
Hi Codenstuff
Access to the path 'c:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\MyFlash.swf' is denied.
An Unauthorized access exception ;)

I have looked at the properties of the Flash file and there is nothing i can change on that, so it must be somewhere within the VB Project that lets me access it.

I have tried Embedding the Flash file, but that does not work.

What should happen is when the usercontrol is Visible and is clicked a New form appears with the Flash file Playing
But i get the Unauthorised Access error as above.


Chris

Re: Permissions Error

Posted: Mon Aug 23, 2010 4:10 pm
by Lewis
It is because your accessing the C Drive, Why not extract the flash to the add-in folder?

Re: Permissions Error

Posted: Mon Aug 23, 2010 6:09 pm
by mandai
Have you checked that directory's NTFS permissions?

Re: Permissions Error

Posted: Mon Aug 23, 2010 6:22 pm
by Harlem9191
It is Vista. The UAC absolutely sucks. When you try and access the program files you have a lot of problems. I used to have this problem all the time and never solved it. Changed to Windows 7 now and don't get the same problem here.