Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

open PDF file on new window

Status
Not open for further replies.

Albano

Instructor
Dec 11, 2000
221
0
0
PT
Hi,

I need do open a PDF file (the name came from a DB), but it allwys give the error "The page cannot be found".

The path for the file is "D:\Albano\app_GestaoRecursos\gestaoCandidatos\fichasCandidatos" and I need to pass the path to javascript to open the file in a new widow.

I already used the escape() to encode the backslash, but it give the same error

Any ideas.

Thanks,

Albano
 
the issue is that the path will not be valid on any machine apart from the machine that hosts the file, if you resolve that issue then you should be able to open the file.

Greg Griffiths
Livelink Certified Developer & ECM Global Star Champion 2005 & 2006
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top