hello! opening in a browse is a different thing, what i need is openening in the application itself. it should be like a mpeg-file ... you click on it your viewer opens with the file. now usually i can tell a browser to do this, but when i select "allways open with this application .." in the explorer dialog it is deselected the next time i click on a pdf. so if it's working for various applications/content-types (doc,xls,mpeg) shouldn't it be working for pdf too?
regards randolph On Tue, 26 Aug 2003, Melvin Cureton wrote: > In my application I use JavaScript to open a new windows and that pages redirects to > the .pdf file which it just opens in the browser. Also if Adobe Acrobat Reader or > more importantly the web add-in is not installed you will always get that prompt to > download the file. > > The code I used is below. > > This opens the new window: > > Dim URL As String > URL = "print.aspx" > Response.Write("<script language=JavaScript>window.open('" & _ > URL & "')</script>") > > And when the page opens it opens the .pdf file that is in the same directory: > > Response.Redirect("1.pdf") > > Not the best method but it works for me. > > --------------------------------------------------------------------------------------------------------------------------------------------------- > > > > Message: 6 > Date: Tue, 26 Aug 2003 10:12:18 +0200 (MEST) > From: <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Subject: [iText-questions] opening generated pdf + internet explorer (fwd) > > hello everybody! > > this is a pdf and no itext specific question, but probably someone knows > the trick... > > i'm openening itext generated pdfs from a servlet ... and i want acrobat > reader to show up without a "save as file" dialog. unfortunaltely even if > i deselect "allways ask for this type of file", the dialog shows up again. > is there some kind of registry-entry to stop this? > > regards > > randolph > > ----------------------------------------------------------------------- > di randolph kepplinger, mba > [EMAIL PROTECTED] / 0676-4071103 > > metamagix - better online solutions > favoritenstrasse 19 / 1040 wien / +43.1.9902804 > buero: hackengasse 27 / 1150 wien / +43.1.9902804 > http://www.metamagix.net > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions