Not logged in. · Lost password · Register
Forum: agsXMPP SDK Support RSS
Page: previous  1  2 
Avatar
Jabberer #16
Member since Feb 2006 · 249 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 1403
Dim user As User = msg.SelectSingleElement(GetType(User))
Dim invite As Invite = user.SelectSingleElement(GetType(Invite))

And don't forget to check if user is nothing before you try to get the invite object from it
Software Developer
AG-Software
Avatar
softyboy #17
Member since Sep 2006 · 31 posts · Location: india
Group memberships: Members
Show profile · Link to this post
Thanks jabberer and Alex for great help and now i m enjoy with your library.
Avatar
softyboy #18
Member since Sep 2006 · 31 posts · Location: india
Group memberships: Members
Show profile · Link to this post
In reply to post #16
Hello Jabberer and alex,

 Dim user As User = msg.SelectSingleElement(GetType(User))
Dim invite As Invite = user.SelectSingleElement(GetType(Invite))
with the above code
I have get the From jid , but how can get Room jid
pls help me.
This post was edited on 2006-09-15, 10:31 by softyboy.
Avatar
Alex #19
Member since Feb 2003 · 4245 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
The room Jid should be msg.From

Alex
Alexander Gnauck
AG-Software
Avatar
Alex #20
Member since Feb 2003 · 4245 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Please also read the MUC JEP at: http://www.jabber.org/jeps/jep-0045.html
Everything is documented there very well, and it includes lots of examples.

Alex
Alexander Gnauck
AG-Software
Avatar
softyboy #21
Member since Sep 2006 · 31 posts · Location: india
Group memberships: Members
Show profile · Link to this post
In reply to post #19
thanks a lot alex i have done with the hlep of You.


Parwej
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:
Page: previous  1  2 
Forum: agsXMPP SDK Support RSS