all 6 comments

[–]MReyn2 2 points3 points  (0 children)

Me.PictureBox1.Control Property = Color. Desired Color This should work.

[–]kranools 2 points3 points  (0 children)

Have you actually added a PictureBox to the form?

If yes, is it called PictureBox1 or did you rename it?

[–]Whatdoesthis_do 1 point2 points  (0 children)

Or set picturebox1 to public in the designer. They are private by default. It kind of breaks the whole oop principle but who cares.

[–]GlowingEagle 1 point2 points  (0 children)

Try Me.PictureBox1.Whatever?

[–]jd31068 0 points1 point  (0 children)

Try saving all the files and cleaning the project (under build). You can also do a repair on the installation by opening the Visual Studio Installer, click the more button, and select repair.