i loaded a bitmap picture in PictureBox...now i have a Close File button..by clicking that PictureBox should be cleared and file should be closed...
how can i do that?
thanks in advance
Printable View
i loaded a bitmap picture in PictureBox...now i have a Close File button..by clicking that PictureBox should be cleared and file should be closed...
how can i do that?
thanks in advance
I would guess
VB Code:
PictureBox1.Image=Nothing
ryyyyyyyyyyyyght.
i will try this at home...coz trying at office can be harmful
hehehheh
thanks anyway
code luck. :bigyello:
Picturebox1.CreateGraphics.Clear(Color.White)
RTFMSDN! :)