?
Solved

Problem with TEmbeddedWB and downloading a file

Posted on 2011-02-27
1
Medium Priority
?
621 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 5

Accepted Solution

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

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
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.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…
Suggested Courses
Course of the Month15 days, 2 hours left to enroll

771 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