#define CF_DIB 8 >if oDataObject.GetFormat( 2 ) > lcData = oDataObject.GetData( CF_DIB ) > ? lcData >endif >I can successfully extract what I believe is a stream of raw DIB data. But if I save this raw data to disk and try to load it into an image control, I get a warning that the image file is corrupt.
#define CF_DIB 8 if oDataObject.GetFormat( 2 ) lcData = oDataObject.GetData( CF_DIB ) strtofile( lcData, "myimage.dib" ) this.picture = "myimage.dib" endifI am not able to display the myimage.dib file in MS Paint either. I'm sure I'm missing another small detail. Does anyone see it?