Permissions Error

If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
6 posts Page 1 of 1
Contributors
User avatar
hungryhounduk
VIP - Site Partner
VIP - Site Partner
Posts: 2870
Joined: Mon Jul 27, 2009 11:58 am

Permissions Error
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
Image
User avatar
CodenStuff
Site Admin
Site Admin
Posts: 4392
Joined: Tue Aug 04, 2009 1:47 am

Re: Permissions Error
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?
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
User avatar
hungryhounduk
VIP - Site Partner
VIP - Site Partner
Posts: 2870
Joined: Mon Jul 27, 2009 11:58 am

Re: Permissions Error
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
Image
Lewis
Coding God
Coding God
Posts: 1564
Joined: Sun Dec 20, 2009 2:12 pm

Re: Permissions Error
Lewis
It is because your accessing the C Drive, Why not extract the flash to the add-in folder?
Image
User avatar
mandai
Coding God
Coding God
Posts: 2585
Joined: Mon Apr 26, 2010 6:51 pm

Re: Permissions Error
mandai
Have you checked that directory's NTFS permissions?
User avatar
Harlem9191
Top Poster
Top Poster
Posts: 87
Joined: Mon Jan 18, 2010 8:45 pm

Re: Permissions Error
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.
6 posts Page 1 of 1
Return to “Coding Help & Support”