Click here to Skip to main content
13,407,211 members (55,214 online)
Rate this:
 
Please Sign up or sign in to vote.
Hello everyone so I'm trying to auto accept friend requests on my Skype using VB.NET and Skype4COMLib but I'm getting this error:
Private Sub oskype_userauthorizationrequestreceived(pUser As SKYPE4COMLib.User)'cannot handle event 'Public Event UserAuthorizationRequestReceived(sender As Object, e As AxSKYPE4COMLib._ISkypeEvents_UserAuthorizationRequestReceivedEvent)' because they do not have a compatible signature.

The code:
Private Sub oskype_userauthorizationrequestreceived(pUser As User) Handles oSkype.UserAuthorizationRequestReceive 
    If MaterialCheckBox7.Checked = True And pUser.IsAuthorized = False Then
        pUser.IsAuthorized = True
    End If
End Sub

I can't get it solved, I want it to accept friend requests whenever I click my checkbox and disable the auto accept requests whenever I deselect the checkbox.

Any help is appreciated, thank you.

What I have tried:

Private Sub oskype_userauthorizationrequestreceived(pUser As User) Handles oSkype.UserAuthorizationRequestReceive
If MaterialCheckBox7.Checked = True And pUser.IsAuthorized = False Then
pUser.IsAuthorized = True
End If
End Sub
Posted 3-Jul-16 21:51pm
Comments
iProgramIt 3-Aug-16 21:51pm
   
Umm, why would you want to auto-accept Skype Friend Requests? That is not a good idea as you could have spam accounts constantly spamming you.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy |
Web01-2016 | 2.8.180212.1 | Last Updated 4 Jul 2016
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100