Not logged in. · Lost password · Register
Forum: agsXMPP RSS
shakeofabiomen #1
Member since Oct 2006 · 1 post
Group memberships: Members
Show profile · Link to this post
Subject: XMPP_OnLogin not getting called

This is code that i am trying to use. When the open method of the XMPPClientConnection is called, the XMPP_OnLogin
event is never fired. Did download the new samples from SVN. The Sample C# version works perfectly fine, but the
Sample VB.Net version works the same way as my Application. The OnLogin Event is never fired. Have some one come
accross such a situation.

**********My Coding*************
Public Sub Connect()
            xmpConn = New XmppClientConnection
            xmpConn.Server = ""
            'xmpp.ConnectServer = ""
            xmpConn.Username = ""
            xmpConn.Password = "myPassword"
            xmpConn.Status = "Online"
            xmpConn.SocketConnectionType = net.SocketConnectionType.Direct
End Sub

Private Sub xmpConn_OnLogin(ByVal sender As Object) Handles xmpConn.OnLogin
        If xmpConn.Authenticated Then
            MsgBox("Not Connected")
        End If
    End Sub

Do tell me if i am being wrong at any place. It would be nice if someone could share a working app.
Jabberer #2
Member since Feb 2006 · 249 posts
Group memberships: Members
Show profile · Link to this post
can you post your Debug XML and catch the Error events of XmppClientConnection?
Are you using .NET 1.0, 1.1 or 2.0?
Software Developer
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS