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 ...
Printable View
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 ...
Use the SavePicture method.
Code:SavePicture Picture1.Picture, "C:\Mypic.bmp"
Code:SavePicture Image1.Picture, "C:\windows\desktop\hello.jpg"
damn, 3 seconds too late...
Dennis.. you can't save it as JPG like that am I right?
I'm almost half-way across the world from this site. Sometimes the difference can be 3 minutes.
See? Happened again.
Jop. No you cannot save a JPEG or GIF like that.
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... ;)
you can save it as a jpg...
but it has to be a JPG ORIGINALLY I should have mentioned that..
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.
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 ...