webnetworks
September 13th, 2001, 11:08 AM
Hi,
I have an appl. that save an image from a Picture control. From one moment to another the SavePicture command fails to save Bitmaps from the Picture Control.
Nothing changed to this part of the appl. but now I get only a grey (appl.background color) image as .BMP file.
The code used is:
sFile = "C:\MYIMAGE.BMP"
SavePicture Picture1.Image, sFile
What went wrong and how can I solve this problem. I tried the compiled code on another PC and that also doesn't work corrcetly.
Thanks,
Jeroen.
I have an appl. that save an image from a Picture control. From one moment to another the SavePicture command fails to save Bitmaps from the Picture Control.
Nothing changed to this part of the appl. but now I get only a grey (appl.background color) image as .BMP file.
The code used is:
sFile = "C:\MYIMAGE.BMP"
SavePicture Picture1.Image, sFile
What went wrong and how can I solve this problem. I tried the compiled code on another PC and that also doesn't work corrcetly.
Thanks,
Jeroen.