yup, you can just post and pass in the required variables. You can get this
variables from the page source or query string.
--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog:
http://www.msmvps.com/blogs/alvin
-------------------------------------------------------
"Steven Nagy" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Heyas
>
> Writing an app that will manage my local internet connection, including
> rebooting the router. The web scraping part is fine (using webrequest)
> to get the current router status.
> There's a specific page with a button on it for "Reboot" that I would
> like my application to be able to click. According to a quick 'view
> source' of that page, the button calls a JS function which essentially
> calls form.submit anyway. The form method=post.
>
> Essentially I am just not sure where to start with this. Should I be
> attempting to post directly to the form action page and upload the
> required post data? Or is there an easy way to just click the button?
>
> C# in .NET 3.0 July CTP.
>
> Cheers,
> Steven
>