Results 1 to 6 of 6

Thread: how do i save an image to bmp file.

  1. #1

    Thread Starter
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088
    I hope its what youre looking for:

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

  2. #2
    New Member
    Join Date
    Jun 2000
    Location
    Los Angeles
    Posts
    7

    Question

    I have tried using that savepicture and all i got is a gray image instead of the desktop background images. anymore suggestion?

  3. #3
    Junior Member
    Join Date
    Jul 2000
    Posts
    19

    Wink

    try putting your image in a picture box and using the SavePicture call..

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

    should work without fail

  4. #4
    New Member
    Join Date
    Jun 2000
    Location
    Los Angeles
    Posts
    7

    Wink

    IT works fine in WindowsNT but not Win95/98. I need it to work with Win95/98. Please help

  5. #5
    Fanatic Member
    Join Date
    Feb 2000
    Location
    The Netherlands
    Posts
    715
    Hope this helps.
    First set autoredraw to true, then paintdesktop, then form1.refresh, then savepicture.
    Sorry if this doesn't help

  6. #6
    Guest
    Also, make sure that you are saving it's Image. There is a difference between the Image property and the Picture property.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width