• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3057
  • Last Modified:

Skype calling from Access 2010 Database (VBA) using Skype4Com

Hi

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.
0
bridgegael
Asked:
bridgegael
1 Solution
 
Jeffrey CoachmanCommented:
Not sure but most functions like this have some sort of visibility command:

calCall.Visible=False

...perhaps...?
0
 
danishaniCommented:
This works for me, to hang-up:

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

skpSkype.ActiveCalls(1).Finish

Set skpSkype = Nothing

End Sub

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

Hope this helps,
Daniel
0
 
bridgegaelAuthor Commented:
Thanks thats exactly what I needed.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now