Interaction
-
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"
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!"
-
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"
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)