Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WebBrowser and save PDF as file
Message
From
12/07/2006 11:10:47
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
WebBrowser and save PDF as file
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01135712
Message ID:
01135712
Views:
50
I try to use webbrowser control to integrate desktop application and web application.
The web application has button to generate PDF file. when I click on button -
then new page with "window.open(".........address.jsp..") and new window with pdf file appears..
How can I save it as file?

I check this URL using WWC.. and it returns.. so.. no direct link to pdf file because its generated on fly by server.

Any ideas..



Here is response.. as I thinking INPUT field display my PDF.. right?
<HTML>
  <HEAD>
  	    

            <META HTTP-EQUIV="expires" CONTENT="0">
            <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">


  </HEAD>
  <BODY onload="document.contractviewform.submit()" bgColor='#ffffff' leftMargin=0 topMargin=0 marginheight="0" marginwidth="0"  onBlur="window.close()">
  <form name ="contractviewform" action='./contractview;jsessionid=mql6victd1' method = "post">
   <input type="hidden" name="x" value='76476_goliath.test_12-Jul-2006-002-555.pdf'>

  </form>
  </BODY>
Reply
Map
View

Click here to load this message in the networking platform