Solved

Problem with TEmbeddedWB and downloading a file

Posted on 2011-02-27
1
614 Views
Last Modified: 2012-05-11
Hi experts,

I am using Delphi 2010 on Windows 7.

I am using the simple download demo that comes with embeddedwb. I want this same functionality in my application.  In the demo, when the user choices to download a file from the Internet, no save dialog appears. I want the same functionality.

There is a site that my application must retrieve a xml file. The user clicks on a button on the site..  In this case the button calls the post action of FORM METHOD=POST ACTION="merge_files.php".  Apparently the php file runs a query and creates the xml file.

The demo program downloads the php file instead of the xml file.If you use the IE download it brings up a save dialog window that I do not want.  From within my Delphi app, I want to save the fie to a folder of my choice.

What do I need to do in order for it to download the xml file and not the php file? Maybe it cannot be done.
Thank you,
Lee Mc Cauley
0
Comment
Question by:profitsource
1 Comment
 
LVL 5

Accepted Solution

by:
wd123 earned 500 total points
ID: 34996086
use OnFileDownload , read more at http://www.bsalsa.com/forum/showthread.php?t=1038
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Several part series to implement Internet Explorer 11 Enterprise Mode
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question