PDA

View Full Version : Starting CoD within an HTML Page


pingoo76
04-01-2004, 05:43 AM
Hello Guyz, me again and my quest to create something really cool (I'm actually on a bad start now but I'm getting there :lol: )

I am desesperately looking to create a Webpage that would actually have a link where the guyz can click on it and it will start CoDMP.exe with some arguments automatically ... does sanyone have any idea how that can be achieve, if achievable :|

I am desperate at that point :dis:

Anex
04-01-2004, 07:09 AM
I use vbs coding and an ActiveX control to add a button on a web page to join our server. It auto reads the persons registery for their CoD install path, then executes CoDMP.exe to join the specified IP.

Here's a link to the code you will need:

CoD Web Start (http://braedeninkpen.com/open/codwebstart.html)

In your browser, simply click on View >> Source to see the code used, or use File >> Save As. To confgure if for your needs, just edit the IP and the name used in the code and you'll be good to go. Please note that a persons IE security setup will affect whether the activex control will work, so it's best to leave my instructions on the page so they will know how to get it to work.

Anyways, hope you enjoy :!:

Glanzer
04-01-2004, 11:08 AM
Anex, I just gotta say that you did a good job on that script, and you even documented every line. I've written several Windows shell scripts so it's great when I see someone else "doing it right". :!:

I'm gonna bookmark that page in case I ever see the same question asked by someone else.

pingoo76: Be sure to use Internet Explorer (not Netscape) because Netscape doesn't understand VBScript.

MOMMA
04-01-2004, 11:32 AM
That is cool, thanks.

Anex
04-01-2004, 12:17 PM
lol thanks.

I use to perform a lot of code review so commenting is second nature :wink:

hikari
04-02-2004, 02:42 PM
that code is awsome

work realy nice

now if i could just get it to work right with mambo

LOL thats another story

but again very nice and thanks for the contribution