Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Suggestions for Forum Replyer?

Suggestions for Forum Replyer?

Scheduled Pinned Locked Moved C#
csharpphpcomtutorialquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    j1e1g1
    wrote on last edited by
    #1

    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

    J 1 Reply Last reply
    0
    • J j1e1g1

      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

      J Offline
      J Offline
      j1e1g1
      wrote on last edited by
      #2

      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

      S 1 Reply Last reply
      0
      • J j1e1g1

        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

        S Offline
        S Offline
        Serge Lobko Lobanovsky
        wrote on last edited by
        #3

        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)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups