How do I turn an array of bytes back into a file and open it automatically with C#?
Posted
by Ace Grace
on Stack Overflow
See other posts from Stack Overflow
or by Ace Grace
Published on 2010-03-23T15:06:54Z
Indexed on
2010/03/23
15:23 UTC
Read the original article
Hit count: 291
Hi,
I am writing some code to add file attachments into an application I am building.
I have add & Remove working but I don't know where to start to implement open.
I have an array of bytes (from a table field) and I don't know how to make it automatically open e.g.
If I have an array of bytes which is a PDF, how do I get my app to automatically open Acrobat or whatever the currently assigned application for the extension is using C#?
© Stack Overflow or respective owner