Michael Maddison
michael at ddisolutions.com.au
Thu Dec 20 20:42:31 CST 2007
Hi David, I guess the links I sent you didn't do the job then... How about 2 links on the page, 1 to the pdf that will open it in the browser. The other to a zip of the pdf that can be downloaded. Too simple? ;-) cheers Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Friday, 21 December 2007 1:27 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Launch and monitor external programs from .NET Group, I couldn't work out how this could be done so I am trying the group again. I am using VB.net in Visual Studio 2005. This is a web application. I have code that gets the path and name of a pdf file located on a server. What I want to do within the code is have a file download box open which gives the user an option of opening or saving the PDF file. The Process class doesn't deem to help because it tries to open the file on the web server (and not the user's). My.Computer.Network.DownloadFile Method seems to require a destination path and filename, but I don't want it to automatically be saved. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com