Skip to main content
gamedev.net
🔒 Locked

[web] Simple Web Form Task

Started by Ecosystem Jun 26, 2008 at 11:23 PM 1 replies 1.3k views
Original Post
Ecosystem
Ecosystem
I simply am trying to take information from my program (written in C++... .NET to be specific), and enter it into a web form (i.e. HTML form). For example, I might require my program to automatically enter some word into a search engine. I just need to be pointed in the right direction. Thank you. :)
ruby-lang
ruby-lang
There are two ways to do it, using (or writing) a HTTP client library to send GETs and POSTs directly to the server, or IE automation.

Working with HTTP libraries requires some knowledge of HTTP. It's probably the best option for long-running processes, specially server side. One disadvantage is not being able to run &#106avascript.<br><br>IE automation is good for tests, because it uses an actual Internet Explorer instance to reach the site, so you get see how it works in the real thing, with cokies, &#106avascript, ActiveX controls, and all that. Not recommended for long-running or critical tasks, because browsers aren't specially reliable.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.