Link to home
Start Free TrialLog in
Avatar of SpokaneISD
SpokaneISD

asked on

Appending images in memory

I am writing an aspnet page that gives the user a link to view the data's associated image.  Due to the size of these images, we have broken them down from one large file with 4 pages, to 4 files with 1 page.  They are managed via a file structure.  For instance:

        FolderABC
            ABC1.pdf
            ABC2.pdf
            ABC3.pdf
            ABC4.pdf

When the user clicks on the link, I wish for Adobe to display all four pdfs as if they were one, so they can click and page through it.  I do not want to create a temp file and append to it so I can work with it that way.  Also I don't wish to embed the image inside of web page, because would like the native apps like Adobe or Windows Picture and Fax viewer to open my images.  Is there a way to loop through the folder and append files in memory and then pass it as an argument to perhaps proc.StartInfo.FileName = fileInMemorySomewhere?  Suggestions welcome.  thanks



string pathFilename = "";
Process proc = new Process();
proc.StartInfo.FileName = pathFilename;
proc.Start();

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of tculler
tculler
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of SpokaneISD
SpokaneISD

ASKER

I was hoping to be able to loop through the files in my directory and displaying them without saving them on hard-disk, but getting the process to "pretend" all the files were actually one file, so they could click next-page, previous-page, and so on.  Looks like I may have to embed them into a browser window.