Suggestions for Forum Replyer?
-
Hey guys, I'm working on sort of a "proof of concept" program (using .NET and C#) that will generate random reply's to forum posts. My program takes a URL, which would be the URL of the page I am replying to, and submits a reply that is pulled from a word list. I'm trying to figure out the best way to open a connection to the page, and then put my mouse-pointer in the "message" box. I can't pass the message as a URL parameter or anything of the sort, because the forums are php/asp. So, does anyone have any ideas as to the best way to open a connection to the page, or on how to get "into" the reply box? To give you an idea, use my test board @ http://s6.invisionfree.com/Justin, and try replying to a post in the Concept forum - this is the process I want to automate. I just need some ideas on the best way to accomplish this...any suggestions are welcome. Thanks, Justin
-
Hey guys, I'm working on sort of a "proof of concept" program (using .NET and C#) that will generate random reply's to forum posts. My program takes a URL, which would be the URL of the page I am replying to, and submits a reply that is pulled from a word list. I'm trying to figure out the best way to open a connection to the page, and then put my mouse-pointer in the "message" box. I can't pass the message as a URL parameter or anything of the sort, because the forums are php/asp. So, does anyone have any ideas as to the best way to open a connection to the page, or on how to get "into" the reply box? To give you an idea, use my test board @ http://s6.invisionfree.com/Justin, and try replying to a post in the Concept forum - this is the process I want to automate. I just need some ideas on the best way to accomplish this...any suggestions are welcome. Thanks, Justin
Ok, well I figured out how to get IE started and go to the correct URL. I'm using System.Diagnostics.Process.Start("executable", "url"). Now I need to figure out how to "grab" the window, insert my text into the reply box, and hit the submit button... Suggestions/examples are appreciated. Thanks, Justin
-
Ok, well I figured out how to get IE started and go to the correct URL. I'm using System.Diagnostics.Process.Start("executable", "url"). Now I need to figure out how to "grab" the window, insert my text into the reply box, and hit the submit button... Suggestions/examples are appreciated. Thanks, Justin
Hi, Try this link, it shows how to host and interact with IE in a Forms form. http://www.codeproject.com/csharp/winformiehost.asp[^] Regards, Serge (Logic Software, Easy Projects .NET site)