Take a look at file#
9470.
>I am using an OLE Bound Control on a form,
>pasting a screenprint into the control and saving the image
>as a word document.(mainly because I know the syntax for Word)
>The line of code to save the picture in word is
>
>ThisForm.oleboundControl1.object.SaveAs(This.cScreenShot )
>APPEND GENERAL ScreenShots.Scr_shot FROM (This.cScreenShot + ".doc")
>
>
>where This.cScreenShot holds the path and name of the file without the file extension eg. "C:\MyPictures\Sample"
>
>and it saves the document with a .doc extension
>However when redisplaying the Picture again I use another oleBoundcontrol,Select the picture into a cursor and set the controlsource of the OlebBoundControl to be the cursor.This process is quite slow.
>So I would like instead to use an Image Control to diplay the image.
>In order to use the image control .I need to save the files with a .BMP or .JPG extension.Is it possible to use MSPaint or other common Windows application
>to save the imagefile with a .jpg or .bmp extension. and what is the required command that could replace the above two lines of code.
>
>Alternatively
>If there is a much simpler method to achieve this(Saving a screenshot to Disk as a BMP or JPEG file)
>using an active-X control then perhaps that would be the route to persue.
>
>
>Any help would be much appreciated.
>Gerard Marrey
--sb--