Link to home
Start Free TrialLog in
Avatar of Phil Chapman
Phil ChapmanFlag for United States of America

asked on

Skype Interface

I need to create an application in VB6 using SkypeContacts ActiveX Control or the Skype4Com where I put in a phone number and dial the number.

Does anyone have an example or VB doc. showing how this can be done?

Thanks in advance for your assistance.

Phil
Avatar of Reek0
Reek0
Flag of Australia image

How about using vb.net? Also there are examples for vb6 on the skype website in the developer zone.
Avatar of Phil Chapman

ASKER

I was unable to find anything in vb6 regarding how to programmatically place a call.  If you find it please send me a link to it.
Hi Phil

This is for vb6

https://developer.skype.com/Docs/Skype4COMLib/Examples

and this is what I have that I am using in VB.net - make sure you install skype and then add SKYPE4COMLIB as a reference to your project

  Public WithEvents skype As SKYPE4COMLib.Skype

 Public Sub DialSkypeNumber()
        If skype Is Nothing Then
            skype = New SKYPE4COMLib.Skype
        End If
        Try
            '    If Not skype.Call.Status = SKYPE4COMLib.TCallStatus.clsBusy Then
            skype.PlaceCall("+" & ReturnNumber.ToString)
            ' End If
        Catch ex As Exception
            MsgBox(ex.Message)
        End Try

    End Sub

This is just for making a call, however I can send you code for event handling also

It looks like everything is in .NET.  I have VB .NET Visual Studio 2005  but have never used it.

If you have a sample .NET program that uses the Skype Skype4Com I would really appreciate it.

Thanks In Advance for your help


ASKER CERTIFIED SOLUTION
Avatar of Reek0
Reek0
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks Verry Much For The Help