[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Skype Interface

Posted on 2009-04-24
6
Medium Priority
?
1,418 Views
Last Modified: 2013-11-09
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
0
Comment
Question by:Phil Chapman
  • 3
  • 3
6 Comments
 
LVL 1

Expert Comment

by:Reek0
ID: 24232931
How about using vb.net? Also there are examples for vb6 on the skype website in the developer zone.
0
 
LVL 2

Author Comment

by:Phil Chapman
ID: 24238321
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.
0
 
LVL 1

Expert Comment

by:Reek0
ID: 24238410
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

0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 2

Author Comment

by:Phil Chapman
ID: 24242639
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


0
 
LVL 1

Accepted Solution

by:
Reek0 earned 2000 total points
ID: 24242985
The example is vb6 on the website - but I gave you vb.net code - add the library then add the code and it will dial!

Try it!


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

Open in new window

0
 
LVL 2

Author Closing Comment

by:Phil Chapman
ID: 31574243
Thanks Verry Much For The Help
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
The goal of the tutorial is to teach the user how to instant message and make a video call in Skype.
Suggested Courses

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question