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