So I have an urgent error. I am currently coding a Friend System, as a few of the more outspoken people on this forum may know. And for some reason some form of issue pops up that I have not encountered yet.
I have a label that calls SendFriendReq, exactly how you would think it would (from frmMain):
private sub SendReq_Click()
But for some reason it erors with the line “argument not optional” and hylights the code "Call SendFriendReq. The public sub (sendFriendReq) is in modClientTCP, and reads as follows:
Public Sub SendFriendReq(ByVal FriendMessage As String, ByVal FriendName As String, ByVal SenderUsername As String)
FriendMessage = Trim$(frmMain.NameText.text)
FriendName = Trim$(frmMain.MessageFriend.text)
SenderUsername = Trim$(Options.Username)
Set buffer = New clsBuffer
Set buffer = Nothing
There might be some more Errors in this code then just what I have gotten to. But so far, this is what I have. Can anyone help me out? please?