open a document in memoryStream

  • Thread starter Thread starter Nuno Monteiro
  • Start date Start date
N

Nuno Monteiro

Hello!

Anyone knows how to open the correct aplication to see de document that
is in MemoryStream?
Like:
I've got an pdf in MemoryStream ( I use BinaryWriter to write it to
MemoryStream), and I
wanna see it with acrobat reader.


--
Thanks,
Nuno Monteiro
(e-mail address removed)
RCSoft, Desenvolvimento de Software, Lda
Telefone: 239708708
Fax: 239708701
 
Hi,

do you want to open it as physical file or via web (like streamed by ASP.NET
page). I believe Acrobat can't read it straight from MemoryStream but you
need to stream it to web browser (having content type application/pdf) or
just outoutting it to a file and opening from there(if client app, probably
needs some references to Adobe Reader or by running using
System.Diagnostics.Process class etc). Provide some more information.

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist

Hello!

Anyone knows how to open the correct aplication to see de document that
is in MemoryStream?
Like:
I've got an pdf in MemoryStream ( I use BinaryWriter to write it to
MemoryStream), and I
wanna see it with acrobat reader.


--
Thanks,
Nuno Monteiro
(e-mail address removed)
RCSoft, Desenvolvimento de Software, Lda
Telefone: 239708708
Fax: 239708701
 
Back
Top