How to open Website with code, and enter search parameters?

M

mpfohl

I would like a button on a form to open a 3rd party website and
automatically enter parameters into the .asp website to directly open
up the search results.

I think I need to use the Followhyperlink command, and I can get it to
open the website, but the user needs to then enter the search
paramters by hand and then hit the 'search button'. There has to be a
way to automate the process, isn't there? I assume it is the 'extra
info' parameter on the followhyperlink command but the help file isn't
very useful.

Thanks for any help,
 
P

Perry

Get in touch with the webmaster hosting the counter website.
Discuss whether you can get access to their site ....

Example+
Suppose y're the webmaster of a certain website,
would you allow other/third parties to enter (a part of) your site by coding
some (login) parameters ????

--
Krgrds,
Perry

System:
Vista/Office Ultimate
VS2005/VSTO2005 SE
 
D

Dirk Goldgar

In
I would like a button on a form to open a 3rd party website and
automatically enter parameters into the .asp website to directly open
up the search results.

I think I need to use the Followhyperlink command, and I can get it to
open the website, but the user needs to then enter the search
paramters by hand and then hit the 'search button'. There has to be a
way to automate the process, isn't there? I assume it is the 'extra
info' parameter on the followhyperlink command but the help file isn't
very useful.

This may or may not work: go to the website, enter some search terms
manually, and click the Search button. When the results come up, look
in the browser's address bar for the URL. It may well include the query
string that was used to produce those results. From that, you may be
able to figure out how to construct such a URL in your code, and then
use FollowHyperlink to follow it.
 
M

mpfohl

I have trouble believing there isn't a way to do this without talking
to the webmaster?

there is a 'extrainfo' parameter in the follow hyperlink command as
well as a msoMethodPost parameter. Clearly these are meant to do what
i'm asking, I just can't figure out how.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top