Save OLEObject "value" from MS Access db as MS Word doc
- From: "Geoff Blood [ACC]" <info@xxxxxxxx>
- Date: Tue, 14 Mar 2006 08:55:53 -0800
I have an MS Access database in which one table has a "field" of type
OLEObject. That field contains MS Word docs, MS Excel workbooks, MS
Powerpoint presentations, Wordpad docs, etc.
I need to save each of these as individual files in specific folders.
I can use the GetValue(x) method to retrieve the object/file. I've tried
using FileOpen(i, path, OpenMode.Binary); FilePutObject(o); FileClose(i) but
the results are not "legal" documents, spreadsheets, presentations, etc.
How can I "get" the object/file and then save it as a file?
Thanks in advance!
Geoff
ps: using VB.net, but I can translate C# if need be :-)
.
- Follow-Ups:
- Re: Save OLEObject "value" from MS Access db as MS Word doc
- From: Mary Chipman [MSFT]
- Re: Save OLEObject "value" from MS Access db as MS Word doc
- Prev by Date: exoledb - accesing exchange data
- Next by Date: Re: Creating local view on linked server database/table
- Previous by thread: exoledb - accesing exchange data
- Next by thread: Re: Save OLEObject "value" from MS Access db as MS Word doc
- Index(es):