Skype calling from Access 2010 Database (VBA) using Skype4Com

Posted on 2011-10-25
Last Modified: 2012-05-12

I'm using the following code to make a Skype Call from VBA in Access 2010

Dim skpSkype As SKYPE4COMLib.Skype
Dim calCall As SKYPE4COMLib.Call

Set skpSkype = New SKYPE4COMLib.Skype
Set calCall = skpSkype.PlaceCall(Phone_Number.Text)

I want to place another button on the screen which will end the call but am having a few problems getting it to work.  

I'd also like to hide the Skype window, can this be done?  I'd like my app to control making and killing calls without the user having to see Skype at all.
Question by:bridgegael
    LVL 74

    Expert Comment

    by:Jeffrey Coachman
    Not sure but most functions like this have some sort of visibility command:


    LVL 12

    Accepted Solution

    This works for me, to hang-up:

    Private Sub cmdHangUp_Click()
    Dim skpSkype As SKYPE4COMLib.Skype
    Set skpSkype = New SKYPE4COMLib.Skype


    Set skpSkype = Nothing

    End Sub

    My Skype is already minimized in Taskbar, and can Call and HangUp in minimized modus.

    Hope this helps,

    Author Closing Comment

    Thanks thats exactly what I needed.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
    Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
    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…
    Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.

    761 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

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now