Re: Auto Fill Web Forms



Hello,

Zathras wrote:
I've spent days on the net (Google/MSDN etc) trying to find a way to
fill in web forms from my Delphi application.

(I ignore the Browser based approach for a moment) basicly there are two methods to transmit information to the webhost: - in the adress as arguments - in the enviroment

So the simplest way is to call is, passing the arguments in the commandline
e.g. to force Google to query for "delphi" the variable "q" must contain the value "delphi" and this should be passed to the script
http://www.google.com/search?q=delphi
So You could simply call
ShellExecute(Handle, 'open', 'http://www.google.com/search?q=delphi', nil, nil, SW_SHOWNORMAL);
thats it.
If You want to parse the result by Your program, you must use a component like Indy or ICS to do so (both are free).


Basically I want my Delphi app to open a browser window (via
ShellExecute?) and automatically fill in a form or pop-up form that
the browser displays.
So for what You want to do it this way?

Many thanks!
Best regards
Ekkehard Domning
.



Relevant Pages