PDA

Click to See Complete Forum and Search --> : how do i save an image to bmp file.


Fox
Jul 4th, 2000, 05:38 AM
I hope its what youre looking for:


SavePicture Form1.Image, "C:\Test.bmp"

vbsmm97
Jul 4th, 2000, 05:38 PM
I have tried using that savepicture and all i got is a gray image instead of the desktop background images. anymore suggestion?

prye
Jul 6th, 2000, 03:03 PM
try putting your image in a picture box and using the SavePicture call..

SavePicture MyPic.picture, app.path & "\MyPic.bmp"

should work without fail :)

vbsmm97
Jul 7th, 2000, 09:44 AM
IT works fine in WindowsNT but not Win95/98. I need it to work with Win95/98. Please help :)

oetje
Jul 15th, 2000, 07:13 AM
Hope this helps.
First set autoredraw to true, then paintdesktop, then form1.refresh, then savepicture.
Sorry if this doesn't help

Jul 15th, 2000, 11:23 AM
Also, make sure that you are saving it's Image. There is a difference between the Image property and the Picture property.