Connect nimbuzz using AgsXMPP
3 posters
Page 1 of 1
Connect nimbuzz using AgsXMPP
what you first need is to add agsxmpp.dll as refrence to add it right click on refrence and browse agsxmpp.dll
and then you should mention "Using agsxmpp;"
next we do is creat a connection and set it to nimbuzz at the end we connect nimbuzz :S
Easy huh?
[You must be registered and logged in to see this link.]
and then you should mention "Using agsxmpp;"
next we do is creat a connection and set it to nimbuzz at the end we connect nimbuzz :S
Easy huh?
[You must be registered and logged in to see this link.]
Re: Connect nimbuzz using AgsXMPP
nice share bro,but can you share for entering the room and posting msg bro?
THANKS AGAIN
THANKS AGAIN
bangag- Posts : 3
Join date : 2012-08-31
Re: Connect nimbuzz using AgsXMPP
bangag wrote:nice share bro,but can you share for entering the room and posting msg bro?
THANKS AGAIN
yes thats already shared in use full function of nimbuzz topic
Re: Connect nimbuzz using AgsXMPP
is it enough codes for login?bro how can we know if login succesed or not,iopen that sample then i try to login,but never know if login succesed or not,...can you share sample project bro,am your fan,only simple project if you can share bro,tnx again,...MORE POWER TO HELPER SOLDIER
bangag- Posts : 3
Join date : 2012-08-31
Re: Connect nimbuzz using AgsXMPP
bangag wrote:is it enough codes for login?bro how can we know if login succesed or not,iopen that sample then i try to login,but never know if login succesed or not,...can you share sample project bro,am your fan,only simple project if you can share bro,tnx again,...MORE POWER TO HELPER SOLDIER
dear it can be done in connection on login! connection onlogin mean when you are connected successfully then try any code in connection on login you can do many things there :
add to list box that u are logged in successfully or show in messagebox or etc
thats all simple na?
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using agsXMPP;
using agsXMPP.Collections;
using agsXMPP.protocol.client;
using System.Text;
using System.Windows.Forms;
namespace sample
{
public partial class Form1 : Form
{
XmppClientConnection bcon = new XmppClientConnection();
public Form1()
{
InitializeComponent();
bcon.OnLogin += new ObjectHandler(bcon_onlogin);
bcon.OnAuthError += new XmppElementHandler(bcon_oneror);
}
private void bcon_oneror(object sender, agsXMPP.Xml.Dom.Element e)
{
if (InvokeRequired)
{
BeginInvoke(new XmppElementHandler(bcon_oneror), new object[] { sender, e });
return;
}
MessageBox.Show("you have entered wrong username or password", "Attention!");
}
// add your code here
private void bcon_onlogin(object sender)
{
if (InvokeRequired)
{
BeginInvoke(new ObjectHandler(bcon_onlogin), new object[] { sender });
return;
}
MessageBox.Show("login successful", "Attention!");
}
}
}
Similar topics
» new nimbuzz
» nimbuzz java
» use full function of nimbuzz!!
» helper chat reflector v2 ( make fun in room with nimbuzz bots ) updated
» nimbuzz java
» use full function of nimbuzz!!
» helper chat reflector v2 ( make fun in room with nimbuzz bots ) updated
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|