> I'm no ASP expert, but it appears as though you need to put
> your code into a function, and then call the function from the
button.
>
> For example:
> Private Function SendX10(sCode, sCommand)
> Set ObjReference =
Server.CreateObject("Example1.x10test")
> objReference.sendx10 sCode, sCommand
> End Function
>
> And then in the button tag, add:
> "OFF")
>
> Hope this helps,
>
Comments to the Webmaster are always welcomed, please use
this contact form
. Note that as this site is a mailing list archive, the Webmaster has no control
over the contents of the messages. Comments about message content should be directed
to the relevant mailing list.