0
Hello, I’m having a hard time receiving messages from an IRC connection made in VB, Here the Code: The library has already been added as a reference to Ircclient.dll. This speaking that irc_ChannelMessage can not manipulate the event, I looked about but I was not successful.
Here is the Project with the method "Sender As Object, and As Channelmessageeventargs"
However, when calling "Message" it does not recognize it as IRC
Dim Withevents irc As Ircclient
Public Sub Connect() irc = New Ircclient("chat.freenode.net:6665") irc. Nick = txtNick.Text irc.Joinchannel("##C++") irc. Connect() lblStatos.Text = "Connected Irc Server." End Sub
Public Sub ircChannelMessage(Sender As Object, and As Channelmessageeventargs) Handles irc.Channelmessage txtMensagens.Appendtext(Message & vbNewLine) txtMensagens.Scrolltocaret() lblMensagens.Text = "Reading Messages." End Sub
The error message is gone, but I can’t get answers from the server. I’ll send the project.
– By Deppy
Here is the project https://github.com/MrDeppy/deppy I did the correction, but I can’t call "Message" for Textbox. I need to receive the response from the server.
– By Deppy