p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   C# (http://p2p.wrox.com/forumdisplay.php?f=22)
-   -   populating online text fields etc (http://p2p.wrox.com/showthread.php?t=59274)

hamilton June 20th, 2007 08:50 AM

populating online text fields etc
 
Hi folks,

Hope you can help.
Is there a way, for example of filling out the textfield on google.co.uk and submitting the search from a c# programme?

Am fairly new to all this and appreciate any help you can give me.

Cheers
Robert


planoie June 20th, 2007 09:06 AM

You don't really need to "fill out" the page. You just create an HttpRequest with the POST method and containing the pertinent information (i.e. the search field with a value).

Easier than that would be to do a regular GET request to the search page. For example:

http://www.google.co.uk/search?q=wallace+%26+gromit

-Peter

joefawcett June 20th, 2007 09:16 AM

There is also the option of using the Google Web Services, these allow more sophisticated searches and the results come back in a more user friendy format.

--

Joe (Microsoft MVP - XML)


All times are GMT -4. The time now is 09:51 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.