dim pb
pb = PictureBox1.getContext(“2d”)
pb.addImage(“shcs.png”)
I’m cannot display this or any images in my PictureBox using above code, after button click.
google browser, Win10 or Win11, relative path.
Google says “file not found” 404
dim pb
pb = PictureBox1.getContext(“2d”)
pb.addImage(“shcs.png”)
I’m cannot display this or any images in my PictureBox using above code, after button click.
google browser, Win10 or Win11, relative path.
Google says “file not found” 404
How are you running the app? Start in desktop browser?
The image file must be added to the project files.
Most devekopers have an images folder under the main code folder. This folder must be specified in extrafiles in project properties.
Pretty sure the image example project is setup with the subfolder and reference.
I was so focused on the control properties. I never bothered to click on the top to see the project properties. Its late, I’ll check it in the morning, but I’m sure it will work. Many thanks Gary!