Hi
I've created an dll based on tapi api configuration and pardon my question in advance, I created an ASP page with this vbscript code (tapi.clsconn is my dll). This part was created with the help of simpleton(programmer of tek-tips):
<%@ LANGUAGE="VBSCRIPT" %>
<%
Option Explicit
set Session.Contents("outpostDB" = createObject("TAPI.CLSCONN"
Session.Contents("outpostDB.StartsSecc" Request.form"p_name"
%>
<HTML>
<HEAD>
</HEAD>
<BODY>
<FORM ID= etc Action="ClosePhoneCall.asp">
<INPUT TYPE="SUBMIT" Value="Drop call">
</FORM>
</BODY>
</HTML>
-------------------------------------------------
But the dial.asp page gave this error:
Error Type:
Microsoft VBScript compilation (0x800A0401)
Expected end of statement
/DIAL.asp, line 7, column 41
Session.Contents("outpostDB.StartsSecc" Request.form("p_name"
I've verify my code but I don't see the problem. Any ideas please. thank you.
I've created an dll based on tapi api configuration and pardon my question in advance, I created an ASP page with this vbscript code (tapi.clsconn is my dll). This part was created with the help of simpleton(programmer of tek-tips):
<%@ LANGUAGE="VBSCRIPT" %>
<%
Option Explicit
set Session.Contents("outpostDB" = createObject("TAPI.CLSCONN"
Session.Contents("outpostDB.StartsSecc" Request.form"p_name"
%>
<HTML>
<HEAD>
</HEAD>
<BODY>
<FORM ID= etc Action="ClosePhoneCall.asp">
<INPUT TYPE="SUBMIT" Value="Drop call">
</FORM>
</BODY>
</HTML>
-------------------------------------------------
But the dial.asp page gave this error:
Error Type:
Microsoft VBScript compilation (0x800A0401)
Expected end of statement
/DIAL.asp, line 7, column 41
Session.Contents("outpostDB.StartsSecc" Request.form("p_name"
I've verify my code but I don't see the problem. Any ideas please. thank you.