1 Attachment(s)
File saved using SavePicture() doesn't open in MsPaint ?
Hi I used This method to save a selected image
in a rtf document as a BMP .......
VB Code:
If is_image(fMainForm.RichText2.SelRTF) = True Then
SendMessage fMainForm.RichText2.hwnd, WM_COPY, 0, 0
fMainForm.Picture6.Picture = Clipboard.GetData()
fMainForm.Picture6.Refresh
SavePicture fMainForm.Picture6.Picture, App.Path & "\Temp\object_" & Str(lngCurText) & ".bmp"
strHTML$ = strHTML$ & "<img src=object_" & Str(lngCurText) & ".bmp>"
End If
The problem is it does not seem to be valid bmp file ......
But Windows Explorer shows the preview ........
---------------
This is my other post with the same problem ....
http://www.vbforums.com/showthread.p...hreadid=276287
--------------------
here is a screen shot .......
Re: File saved using SavePicture() doesn't open in MsPaint ?
Why do you need to have a second thread when your first one still has people posting in it?