X10 Community Forum

🖥️ActiveHome Pro => SDK => Topic started by: ufans on October 14, 2007, 10:08:47 AM

Title: Problems running VB code in ASP, but works fine in HTML
Post by: ufans on October 14, 2007, 10:08:47 AM
I have the dynamicreceive.html sample code working great, but I can't get the following code to work

<%@ Language=VBScript %>

<%
Set x10Obj = Server.CreateObject("X10.ActiveHome")
'x10Obj.OnRecvAction "DoRecvAction"

x10Obj.SendAction "sendplc", "a3 on"

set x10Obj = Nothing
%>


I have IIS setup to run ASP files and the fact that the dynamicreceive.html code works means that the DLL is correctly registered.  Don't know what is up.  The only thing I can think of is security setting in IIS that prevents the running of ASP that impacts other programs/DLLs.

Anyone have an idea or a work-around?
Title: Re: Problems running VB code in ASP, but works fine in HTML
Post by: frasierman on March 25, 2008, 11:18:44 AM
Can you post the HTML file?