Is there a way to create a temp file with system created name, that the system will delete?
Windows 7Windows XP
Last Comment
David Johnson, CD
8/22/2022 - Mon
David Johnson, CD
define system created name? and how are you going to create it? batch file, script, visual studio?
Qlemo
And at which time (or other criteria) it should get disposed?
HLRosenberger
ASKER
Here's what I want to do: create a PDF and allow the browser to display it. But I'm trying to avoid worrying about deleting the PDF. if the user does not print it, I want to delete it. Or better yet display an in-memory PDF in a browser window.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
David Johnson, CD
and you are creating a pdf of WHAT that has to be a temporary file?
David Johnson, CD
When you say display in a browser do you mean using iis to display a webpage? do you want to use adoboe distiller to make the pdf? you need to be a lot more forthcoming in describing exactly what you want to do and where you are having a problem
BillDL
"display an in-memory PDF in a browser window"
A file open in a browser is not "in memory", it is downloaded from its source location to the current user's temporary browser cache. Depending on the browser's settings, it may or may not be deleted when the browser closes.
There are too many missing elements to guess what you are trying to achieve. It sounds like you are trying to show a "Print Invoice" function like you get when you buy something on eBay through PayPal, except create a PDF file instead.
Unlimited question asking, solutions, articles and more.
HLRosenberger
ASKER
I using a product called Aspose to create a PDF - a file. I can point to a URL to where the file was created and display that file in a browser window. I can then print the PDF. This works fine. I'm trying to eliminate the creation of the PDF file. This is for internal company use only, so I have control over where the file gets created and then the corresponding URL.
Do this make sense?
David Johnson, CD
you can't display what does not exist.. why can't you just use a regular webform?
HLRosenberger
ASKER
How do I display a PDF using a WEB form?
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
David Johnson, CD
You're not understanding what I meant.. you have data that you are creating a pdf with my question was why don't you just display the data in a webform (webpage)
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.