Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Legacy ADODB.Stream and System.IO.Filestream

Thread Tools

Legacy ADODB.Stream and System.IO.Filestream

Posts: n/a

I have an older CRM Web application, that we are not going to change to 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;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.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

Reply With Quote
Posts: n/a
Not to worry, I worked out my problem.

I had left out a line of very important code


Reply With Quote
Rad [Visual C# MVP]
Posts: n/a
Why don't you share and help out someone else who might be having the
same problem?

On 30 Nov 2006 08:40:12 -0800, "Hawksey" <(E-Mail Removed)>

>Not to worry, I worked out my problem.
>I had left out a line of very important code


Reply With Quote
Mark Rae
Posts: n/a
"Peter Bromberg [C# MVP]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...

> "Not to worry, I fixed it" without sharing the fix is as bad as "Urgent!
> please help. Send me the solution right away!"

Almost as bad as:

"How do I <insert any REALLY obvious question>? I don't know how to use

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to share data asynchronously between ASP.NET and Legacy Syste =?Utf-8?B?aW5ldG11Zw==?= ASP .Net 0 05-27-2005 03:22 AM
DVD Verdict reviews: CREATURE FROM THE BLACK LAGOON: THE LEGACY COLLECTION and more! DVD Verdict DVD Video 0 10-25-2004 09:09 AM
DVD Verdict reviews: VAN HELSING, THE INVISIBLE MAN: THE LEGACY COLLECTION, and more! DVD Verdict DVD Video 0 10-19-2004 09:09 AM
[ANN] Stylus Studio 6 Adds new Support for XSLT 2.0, XPath 2.0, XQuery,XML Schema, Legacy Data Integration and XML Mapping Stylus Studio XML 0 10-05-2004 06:17 PM
On: 'The Python CSV Module and Legacy Data' Paddy McCarthy Python 0 04-26-2004 08:42 PM