H
Hawksey
Hello,
I have an older CRM Web application, that we are not going to change to
..net that makes use of the ADODB object to load images into a SQL
database (varbinary) field.
I am rewriting an application in .NET that retrieves these images. I
have used the following article to retrieve the image from the Database
http://support.microsoft.com/default.aspx?scid=kb;en-us;316887. The
image is written to the filesystem, but does not display in the web
application. The older application used to get the images using the
following bit of code
Dim oStream As ADODB.Stream
Set oStream = New ADODB.Stream
......
oStream.Write(....recordset("FieldName"))etc.
oStream.SaveToFile PathAndFileName, adSaveCreateOverWrite
Could anyone point me in the right direction as how to accomplish this.
Without having to change the CRM application???
Many Thanks
Paul
I have an older CRM Web application, that we are not going to change to
..net that makes use of the ADODB object to load images into a SQL
database (varbinary) field.
I am rewriting an application in .NET that retrieves these images. I
have used the following article to retrieve the image from the Database
http://support.microsoft.com/default.aspx?scid=kb;en-us;316887. The
image is written to the filesystem, but does not display in the web
application. The older application used to get the images using the
following bit of code
Dim oStream As ADODB.Stream
Set oStream = New ADODB.Stream
......
oStream.Write(....recordset("FieldName"))etc.
oStream.SaveToFile PathAndFileName, adSaveCreateOverWrite
Could anyone point me in the right direction as how to accomplish this.
Without having to change the CRM application???
Many Thanks
Paul