Have you tried:

picturebox1.Picture = Picture.load(application.path & "/image/back.png")

If only part of your picture is showing, try setting the "stretch" 
property of the Picturebox control to "True".

Bill Richman - Lincoln, Nebraska
Tilter at windmills, maker of pies in the sky, & curmudgeon
email: b...@geektrap.com  web: www.geektrap.com




kobolds wrote:
> I having strange problem with PictureBox to display image. 
>
> if I choose the image from picturebox properties , the image show up but
> when I do it from program , the picture not showing .
>
> in the program I do this
> picturebox1.picture = picture[application.path & "/image/back.png"]
>
> I found out that some of my picture is showing but some no. I have not a
> clue what going on . %-|
>
>
> http://old.nabble.com/file/p27169578/Back.png.tar.gz Back.png.tar.gz 
>
>   

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to