Add BLOB graphic files into a Word Document
Hello All,
I need to add a BLOB graphic OLE stored in an Access 2002 database into a bookmark in a Word document.
I can't do it by just grabbing the BLOB field into a recordset, assigning it to a string and updating the word document with the string inserted.
Is there a secondary or native application I can open the BLOB (fields are called Binary Long Data) first and then copy it into word?
Any other suggestions? Ideally I want to display the BLOB in 35% of it's real size directly...somehow!
Ex. in VB6:
app.Documents(strDocumentName).Activate
app.Selection.GoTo What:=wdGoToLine, Which:=wdGoToFirst, Count:=1, Name:=""
If app.ActiveDocument.Bookmarks.Exists(strBookmark) Then
app.ActiveDocument.Bookmarks(strBookmark).Range.Te xt = rstGroup2!Picture
End If
Well I know a BLOB graphic file is not Text but how else can I accomplish this?
Please advise. Thanks for your time!
Maria :(
|