In Design I drag a picturebox control inside Form1.
In the properties for Picturebox - Image - I select "Local resource:" - Import and Open a image. When I press [Start Debugging (F5)]Button, I get 5 errors all the same text :
Microsoft Visual Studio (name of the window error) Code generation for property 'Image' failed. Error was: 'A generic error occurred in GDI+.'
------------
I google the error and I get that is about folder security property. So I go to the folders themselves, and start erasing and adding security. But one thing go to another and they didnt let me change anything because they were depending on the root folder D:\. And i change there too. I give "full control" to everything i could.
In the root folder D:\ now I have SYSTEM;Administrators (username-PC\Administrators); Users (username-PC\Users) as my Security names.
And the original error for the c# Picturebox image didnt change after all the folder security tweeking i did.
---
I think i did it this time. I am so worried.
Thank you for any kind of help.
What I have tried:
---
I think i did it this time. I am so worried.
Thank you for any kind of help.