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
 

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

Similar Threads

open a document in MemoryStream 3
Content Types 1
Key pressed 3
100 Labels 4
Autosize + Datagrid 1
Problem with MdiChil form Maximized 2
Problems with child forms 2
Running Program 8

Back
Top