Web applications have no access to local files. If the user wants to open a PDF, can't he just double-click it in his file explorer?
Ping & DNS - updated with new look and Ping home screen widget
Joined: Feb 21, 2009
Thanks for that ulf, however in my application, when i click on make, it makes a pdf file in client's D: drice...but on click of view..my client wants to view that file. So how to achieve this thing? Can you Suggest?
Thanks in advance
Joined: Mar 22, 2005
A web app can't create a file on the client's machine. It can stream PDF data that the browser decides to save on the client machine, IF the user at some point instructed the browser to save all PDFs automatically. Otherwise, the browser will open a little dialog, asking the user whether to open the file with some application, or to save it.