Results 1 to 11 of 11

Thread: how do i save a graphic?

  1. #1

    Thread Starter
    Hyperactive Member theman32x's Avatar
    Join Date
    May 2000
    Location
    New Jersey, USA
    Posts
    305

    Question

    i'm using vb6 enterprise n the image control

    how can i save a graphic that i open up in the image control?

    any help would be appreciated ...

  2. #2
    Guest
    Use the SavePicture method.

    Code:
    SavePicture Picture1.Picture, "C:\Mypic.bmp"

  3. #3
    Guest
    Code:
    SavePicture Image1.Picture, "C:\windows\desktop\hello.jpg"

  4. #4
    Guest
    damn, 3 seconds too late...

  5. #5
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    Dennis.. you can't save it as JPG like that am I right?
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

  6. #6
    Guest
    I'm almost half-way across the world from this site. Sometimes the difference can be 3 minutes.

  7. #7
    Guest
    See? Happened again.

    Jop. No you cannot save a JPEG or GIF like that.

  8. #8
    Lively Member
    Join Date
    Apr 2000
    Posts
    110

    Blimey....

    Megatron, u based in the UK? Just wondering... Lets see how long it takes for you to respond to this posting

    Laterz

    REM

    BTW, the timer is ticking...

  9. #9
    Guest

    Red face

    you can save it as a jpg...
    but it has to be a JPG ORIGINALLY I should have mentioned that..

  10. #10
    Guest
    Actually if it's stored in an ImageBox, you can only save in BMP format. Only the PictureBox can save a Picture in whatever format it orignally was.


    REM. Nope, I live in Canada.


  11. #11

    Thread Starter
    Hyperactive Member theman32x's Avatar
    Join Date
    May 2000
    Location
    New Jersey, USA
    Posts
    305

    Smile thanks

    thanks for all ur help i got my program to be able to save the file ... however, one of u said that u couldn't save it as anything but a *.bmp ... well i tried it n u can save it to a bmp, jpg or gif no matter what type of graphic it was ...

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