Using VB.Net to execute JavaScript

P

Peter Dickson

I am trying to pull data from a website into a database. Part of the
website I am getting the data uses javascript to display the data.

The only variable being passed to the javascript when it is executed is a
record number (Ex: javascipt:getDetails('123456789')

Can VB.Net control execute the javascript? If so, does anyone have an
example of how it can be done.

Thanks
 
A

ANDRES BECERRA

Best thing to do would be to automate a webbrowser control embedded on a
vb.net form. You should then be able to execute javascript that way.

Also, you might want to try and look at the code behind the getDetails()
function. It is probably just forwarding to another URL passing the record
# as part of the querystring.

--
**************************************
Andrés Becerra
Pennsylvania, USA
Email not posted due to email stealing A**H***S that poll newsgroups.
**************************************
 

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