May 4, 2004 #1 S sureshcd10 Regular Joined Dec 25, 2003 Messages 77 How can I display a .pdf doc in a webForm?
May 4, 2004 #2 E evaleah Regular Joined May 14, 2003 Messages 56 With Response .Clear() .ContentType = "application/pdf" .AddHeader("Content-Disposition", _ "inline; filename=""" & strFileName & """") .WriteFile(strSaveFile) End With where strFileName is the name only and strSaveFile is the full path. This will cause the page to open Acrobat and show the file you listed. HTH Eva
With Response .Clear() .ContentType = "application/pdf" .AddHeader("Content-Disposition", _ "inline; filename=""" & strFileName & """") .WriteFile(strSaveFile) End With where strFileName is the name only and strSaveFile is the full path. This will cause the page to open Acrobat and show the file you listed. HTH Eva