QUOTE(DNAUK @ Wed Sep 27 2006, 08:11) [snapback]301997[/snapback]
The links don't work (Failed to load SkypeX control) because I am not using SKYPE4COM, I am using the ActiveS COM Wrapper. The following are the extracted relevant VB6 code fragments:
=================================
Private WithEvents objSkypeSession As SKYPEAPILib.Access
Private objSkypeUser As SKYPEAPILib.User
Private objSkypeCall As SKYPEAPILib.Call
Private boolSkypeConnected As Boolean
----------------------------------------------------------
Private Sub Form_Load()
On Error GoTo NoInit
Set objSkypeSession = New SKYPEAPILib.Access
objSkypeSession.Connect
On Error GoTo 0
Exit Sub
NoInit:
MsgBox Err.Description, vbCritical + vbOKOnly, "Unable to Connect to Skype"
Set objSkypeSession = Nothing
Unload Me
Exit Sub
End Sub
----------------------------------------------------------------------
Private Sub Form_Unload(Cancel As Integer)
boolSkypeConnected = False
Set objSkypeCall = Nothing
Set objSkypeUser = Nothing
Set objSkypeSession = Nothing
End Sub
----------------------------------------------------------
Private Sub objSkypeSession_APIStatusChanged(ByVal Status As SKYPEAPILib.SkypeAPIAttachmentStatus)
boolSkypeConnected = (Status = SKYPEAPILib.SkypeAPIAttachmentStatus.apiAttachSuccess)
End Sub
----------------------------------------------------------------------
Private Sub bttnMakeCall_Click()
On Error GoTo SkypeOutErr
Set objSkypeCall = objSkypeSession.PlaceCall(Me.lblHandle.Caption)
SkypeOutExit:
On Error GoTo 0
Exit Sub
SkypeOutErr:
MsgBox Error$
Resume SkypeOutExit
End Sub
----------------------------------------------------------------------
Private Sub bttnEndCall_Click()
Dim objCall As SKYPEAPILib.Call
On Error GoTo SkypeHangupErr
objSkypeCall.Status = prgFinished
SkypeHangupExit:
On Error GoTo 0
Exit Sub
SkypeHangupErr:
Resume SkypeHangupExit
End Sub
========================================
Any light anyone can shed on this would be welcome, as I say it works fine with one computer running Skype 2.0 but fails (SkypeOut calls only) on the machines running Skype 2.5 and Beta 2.6.
The Links do work, but you need to add my site as a trusted site so that the Skype4Com Lib will install via ActiveX.
All I was trying to do was offer you some test tools to see another view of your problem..
I personally, don't use the ActiveS COM Wrapper, so I have no way to help you debug this :-( other than offering you tools that use the Skype4COM lib so that you can compare results.