Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Internet Question

Status
Not open for further replies.

Snaples

Programmer
May 7, 2007
16
IL
Hey there,
Ok my question is this, When I open the browser at certain page, from an app i made, say google how do I get it also search for something specific?
How do I interact with the search box?
How do I interact with anything on the web through the application?

Thanks alot in advance!
 
This is not really a Delphi question. However to get you started...

When you fill something in the search box, and hit the Ok button, you'll notice the URL you're taken to looks something like this:

[tt][/tt]

Everything after the ? are parameters being passed to the URL before it. Parameters are separated by the & signs, and you have a paramater name with an = sign, then the parameter value.

You don't need to fill in the Google front page, just call the URL it would call and provide the parameters you want, all as the entire URL. In the example above, I searched for [tt]delphi[/tt]. I have no idea what the other parameters are, except for the [tt]hl[/tt] which indicates the language to return or somesuch.

Google may have more information for you on their site.
 
In the URL example above, it appears Tek-Tips has substituted the & after delphi with the code &.
 
ohh it all makes sense now :p

Thanks alot to you all!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top