Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27411

Resources problem. Has no property named...

$
0
0
Hy,

I have a problem with a project. I have many forms with different pictureboxex in them. It worked all fine until today. I didn't make any changes and all the pictures won't show up. I even had a backup that worked and now it doesn't work either.

However, other app that was ok has no problem.

So for absolutely every picture, image, backgroundimage, etc... in my project I get: the type projectName.my.resources.resources has no property named 'picturename'

Then I enter the error code and I have:

Me.PictureBox1.BackgroundImage = Global.Project_Manager.My.Resources.Resources.adaugapersoane, where project_manager is the name of my app.

I tried changing this with no luck to:
Me.PictureBox1.BackgroundImage = Global.Project_Manager.My.Resources.adaugapersoane
Me.PictureBox1.BackgroundImage = My.Resources.adaugapersoane

Now, if I run my program the picture is showing up. It also shows up ion the resources area. What's going on?

Has anyone come across this?

What should I do because I can't continue anymore?

I tried deleting the exe file and it works but only for the first compling and then... error...

PLEASE HELP

Viewing all articles
Browse latest Browse all 27411

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>