Passing a memory stream to Process object?

  • Thread starter Thread starter Maura Jenkins
  • Start date Start date
M

Maura Jenkins

Hi Everyone ...

I have a bunch of BLOB data (MS Word and PDF docs mainly) stored in SQL
2005; no problems with ordinary CRUD operations but I'd like to read my
data and "feed it" to a Process() object so the user can retrieve a document
and have it open in Word or Acrobat without my first writing it to disk

And I'm lost on next steps here ... anyone got a suggestion?

TIA
mj
 
*some* apps might let you use a named pipe to do this, but to be
honest the amount of hacking and debugging just isn't worth it (since
the client may assume seekable etc) - save it to the tmp area are load
it from there...

As another possible alternative, you might be able to set up an
HttpListener to act as a web-server, and send the process a local http
address (which you then respond to with your data) - but again, saving
it as a local file is just the simplest (and least brittle) answer.

Marc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top