P
poolguard
I have a lot of office documents (Word, excel, and PPT) stored in a SQL 2000
Server, and i am trying to retrieve them.
I can get the document from SQL as a byte array and save that to the local
disk then open it, but is there a way to open the document from a
memorystream or the byte array?
I have tried this
Dim ms As New MemoryStream
ms.Write(curDoc.Document, 0, UBound(curDoc.Document) - 1)
CurWordApp.Documents.Open(ms)
But i get an error on the last line
Thanks
Chris
Server, and i am trying to retrieve them.
I can get the document from SQL as a byte array and save that to the local
disk then open it, but is there a way to open the document from a
memorystream or the byte array?
I have tried this
Dim ms As New MemoryStream
ms.Write(curDoc.Document, 0, UBound(curDoc.Document) - 1)
CurWordApp.Documents.Open(ms)
But i get an error on the last line
Thanks
Chris