Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.visual.basic    |    MS Visual Basic discussions, NOT dot-net    |    10,840 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 9,135 of 10,840    |
|    Carl to J French    |
|    Re: Saving Altered Bitmap    |
|    02 Jan 05 15:40:00    |
      From: dodger@enter.net               Thank you for your help, but I've tried this and it doesn't work. I'm       using a picturebox as a canvas on which to draw. I'm loading a blank       bitmap, test.bmp, and then drawing on the picturebox (e.g..       frm_crysalis.picmain.Circle (-0.25, 0), 1). I'm trying to add a save as       routine to save the modified image, Here is the simple test code that I've       written to do this, but it doesn't work (oh yeah, my Autoredraw property is       set to true).              Private Sub mnu_save_Click()        CommonDialog1.Filter = "Pictures (*.bmp)|*.bmp"        CommonDialog1.ShowSave        SavePicture Image, "d:\my documents\vb6\TEST.BMP"       End Sub              Could the problem be that I'm drawing on the picturebox, not the blank       bitmap test.bmp? I've tried not loading the blank bitmap, but then the       image saved is blank as well. This one really has me baffled. Any ideas       will be greatly appreciated.                            "J French" |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca