Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Other SQL Server Topics (2005)
 Moving SQL2005 image data to a disk file(.doc)

Author  Topic 

wheatieswoods
Starting Member

1 Post

Posted - 2009-06-25 : 08:15:03
I am re-writing a program in VS2008.NET that moves the data from a Word document file to an image file in SQL2005 - by using streamreader. I am using streamwriter to move the output from a stored procedure to a new disk file with a doc extension. all that I get in the file when openned in Word (or notepad) is "System.Byte[]". The old VB6 program used chunks. The streamwriter placed data in the image feilds looks good - similar to what the old program put in the image feild. How do I get the data into a disk file to be read as a word document?
   

- Advertisement -