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 / C++ / MFC
  4. Interaction

Interaction

Scheduled Pinned Locked Moved C / C++ / MFC
game-devtutorialquestion
3 Posts 3 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.
  • E Offline
    E Offline
    Ever1234
    wrote on last edited by
    #1

    Does anyone know how to make a program that will interact with a web page (create a game ladder for leages and such)? I know it is possible. "To wonder is to begin to understand"

    A M 2 Replies Last reply
    0
    • E Ever1234

      Does anyone know how to make a program that will interact with a web page (create a game ladder for leages and such)? I know it is possible. "To wonder is to begin to understand"

      A Offline
      A Offline
      Anders Molin
      wrote on last edited by
      #2

      You can make a program that *generates* a webpage. If you use IIS it could be an IISAPI filter written in VC, or a COM Object (used from an ASP page). You could also just write the code in ASP (scripting). - Anders Money talks, but all mine ever says is "Goodbye!"

      1 Reply Last reply
      0
      • E Ever1234

        Does anyone know how to make a program that will interact with a web page (create a game ladder for leages and such)? I know it is possible. "To wonder is to begin to understand"

        M Offline
        M Offline
        Mark Terrano
        wrote on last edited by
        #3

        If you're just creating the page, then you can generate HTML as text, and save the file out. Write your HTML to the file just like you would do if you were hand editing (or make the HTML with your favorite editor, view it in Source, and cut and paste this into your program. Substitute your dynamic content, and just write the .HTM file like you normally would. Couple tips: I added an HTML line to cause the page to refresh every 5 minutes to show the most recent data automatically - it might be useful for your ladder page. I found it useful on the page to substitute the default quote " as a parameter for single quotes - this stopped me from having to define all my commands with a lot of SIZE=\"%d\" etc. I could just do SIZE='%d' COLOR='%X'etc. --Mark Terrano www.ensemblestudios.com (Creators of the Age of Empires series)

        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