Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Easy Way to Fill in and Submit an HTML Form

0 views
Skip to first unread message

Rea Berryman

unread,
Sep 3, 2002, 5:15:57 PM9/3/02
to
Our company has put our timesheets on the intranet. I'm hoping to find a way
to fill it in from a Delphi app so I can save myself a lot of data entry.

Any ideas on where I can get started?

Thanks,
Rea


Hadi Hariri - Team Indy

unread,
Sep 3, 2002, 7:34:25 PM9/3/02
to
Use an HTTP component to post the data to the form.


--
Hadi Hariri
http://www.hadihariri.com

Want more Indy stuff? Try the Atozed Indy Portal at
http://www.atozedsoftware.com/

* More Free Demos
* Free Articles
* Extra Support

CleverComponents Team

unread,
Sep 4, 2002, 5:48:15 PM9/4/02
to
To get web pages generated by POST you will have to use HTTP headers.
One of the simplest way is to use the Clever Internet Suite.
The programming interface of Clever Internet Suite was specially designed
for such kind of tasks.
To do so you should simple fill the component's header info and run request.
...
Uploader: TclUploader;
...
Uploader.UseHTTPHeaders := True; //activates the http POST request
Uploader.UseSimpleRequest := True; //request headers might contain objects
Uploader.HTTPHeaders.AddTextData('instance=blinmult&startDate=10/10/2002&cb_
submit=Submit');
Uploader.Start(False); //this method starts the request, False for In-Sync,
True for Async
//If this parameter is TRUE, after calling the control is returned
immediately.

After process done you can get server response from Uploader.ServerResponse
property.
This property contains an HTML page generated by server.
Please see the 'Simulate a Web Form POST Request' article at
http://www.clevercomponents.com/articles/article009/httppost.asp
to get more details of using HTTP POST in Clever Internet Suite.

For more details about these components please visit
http://www.clevercomponents.com/products/inetsuite/suite.asp
To get demo version for IDE you use please visit
http://www.clevercomponents.com/demo/inetsuite/inetsuitev25.asp
Please visit our article section
http://www.clevercomponents.com/articles/index.asp you will find plenty
examples there.

Feel free to contact us if you have any questions or concerns.

With best regards,
Clever Components support team
sup...@clevercomponents.com


"Rea Berryman" <fberrymG...@tampabay.rr.com> wrote in message
news:3d75268e$1...@newsgroups.borland.com...

0 new messages