daimler <da*******@yahoo.com.sg> schreef in berichtnieuws
3f******@news.starhub.net.sg...
Hello Daimler,
help!!!!!!!!
[Snip]
but when i use
savepicture picture1.picture,"c:\testing2.bmp"
the testing2.bmp doesn't show the pset line on the picture.......
J. French gave you the solution, and I'm going to tell you why.
Start your app, so it shows the drawing. Now open-up any other app (I
suggest notepad), and place it ontop of your drawing. Close notepad.
Now where has your drawing gone ?
Answer : Your drawing was *only present on the desktop*, and was/is not
stored into the picture-box. As such a save of the picture-boxes contents
does not store the drawing ...
Setting "AutoRedraw" to true means that your drawing is copied/stored in the
picture-boxes memory, and as such can be saved into the BMP.
I hope the above clarifies it somewhat.
Regards,
Rudy Wieser
P.s.
Maybe you could allso take a look at (the difference between) the "picture"
and "image" properties of the picturebox.