V
Viperv10
I have code that takes two phone numbers put in two text boxes and when a
button is clicked creates a skype call and conferences them together.
In VB.net (windows application) code works fine.
In ASP using development server code works fine
In IIS on VISTA nothing happens when you click the button.
If I change the onclick code to be response.write("hello") then HELLO is
written to the page
Here is the ASP code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Untitled Page</title>
<script runat="server" language="vb">
Dim oskype As New SKYPE4COMLib.Skype
Dim oCall As New SKYPE4COMLib.Call
Dim oCon As New SKYPE4COMLib.Conference
Sub Button1_Click()
oCall = oskype.PlaceCall(TextBox1.Text, TextBox2.Text)
oskype.Mute = True
oCon = oskype.Conference(oCall.ConferenceId)
End Sub
Sub Button2_Click()
' Dim i As Integer
' For i = oCon.ActiveCalls.Count To 1 Step -1
' oCon.ActiveCalls(i).Finish()
' Next
End Sub
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
</div>
<asp:TextBox ID="TextBox1" runat="server">+14165539701</asp:TextBox>
<p>
<asp:TextBox ID="TextBox2" runat="server">+19058587100</asp:TextBox>
</p>
<asp:Button ID="Button1" Text="Place Call" OnClick="Button1_Click"
UseSubmitBehavior="True" runat="server"/>
<p>
<asp:Button ID="Button2" Text="End Call" OnClick="Button2_Click"
UseSubmitBehavior="True" runat="server"/>
</p>
</form>
</body>
</html>
---------------------------------------------------------------------------------------------
I enabled ASP amd ASP.net and a ton of other features in control panel.
I also enabled failure auditing for security events figures it was a
permissions issue nothing...
I am very very new to ASP so a detailed explanation would be helpful.
Thanks.
button is clicked creates a skype call and conferences them together.
In VB.net (windows application) code works fine.
In ASP using development server code works fine
In IIS on VISTA nothing happens when you click the button.
If I change the onclick code to be response.write("hello") then HELLO is
written to the page
Here is the ASP code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Untitled Page</title>
<script runat="server" language="vb">
Dim oskype As New SKYPE4COMLib.Skype
Dim oCall As New SKYPE4COMLib.Call
Dim oCon As New SKYPE4COMLib.Conference
Sub Button1_Click()
oCall = oskype.PlaceCall(TextBox1.Text, TextBox2.Text)
oskype.Mute = True
oCon = oskype.Conference(oCall.ConferenceId)
End Sub
Sub Button2_Click()
' Dim i As Integer
' For i = oCon.ActiveCalls.Count To 1 Step -1
' oCon.ActiveCalls(i).Finish()
' Next
End Sub
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
</div>
<asp:TextBox ID="TextBox1" runat="server">+14165539701</asp:TextBox>
<p>
<asp:TextBox ID="TextBox2" runat="server">+19058587100</asp:TextBox>
</p>
<asp:Button ID="Button1" Text="Place Call" OnClick="Button1_Click"
UseSubmitBehavior="True" runat="server"/>
<p>
<asp:Button ID="Button2" Text="End Call" OnClick="Button2_Click"
UseSubmitBehavior="True" runat="server"/>
</p>
</form>
</body>
</html>
---------------------------------------------------------------------------------------------
I enabled ASP amd ASP.net and a ton of other features in control panel.
I also enabled failure auditing for security events figures it was a
permissions issue nothing...
I am very very new to ASP so a detailed explanation would be helpful.
Thanks.