nimbuzz friends
Welc0me
(VIDICH132@NIMBUZZ.COM)

Connect nimbuzz using AgsXMPP

Go down

Connect nimbuzz using AgsXMPP

Post  vidich132 on 2012-05-28, 4:01 pm

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.]
avatar
vidich132
Admin

Posts : 155
Join date : 2011-09-06
Age : 25
Location : tabriz

View user profile http://coolbuzz.forumotion.com

Back to top Go down

Re: Connect nimbuzz using AgsXMPP

Post  wa7daani on 2012-07-01, 12:04 pm

Awesome !!!

thank u bro

wa7daani

Posts : 1
Join date : 2012-07-01

View user profile

Back to top Go down

Re: Connect nimbuzz using AgsXMPP

Post  bangag on 2012-08-31, 10:32 am

nice share bro,but can you share for entering the room and posting msg bro?

THANKS AGAIN

bangag

Posts : 3
Join date : 2012-08-31

View user profile

Back to top Go down

Re: Connect nimbuzz using AgsXMPP

Post  vidich132 on 2012-09-06, 4:44 am

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
avatar
vidich132
Admin

Posts : 155
Join date : 2011-09-06
Age : 25
Location : tabriz

View user profile http://coolbuzz.forumotion.com

Back to top Go down

Re: Connect nimbuzz using AgsXMPP

Post  bangag on 2012-09-06, 6:48 pm

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

View user profile

Back to top Go down

Re: Connect nimbuzz using AgsXMPP

Post  vidich132 on 2012-09-13, 5:15 am

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 Razz 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!");


}
}

}
avatar
vidich132
Admin

Posts : 155
Join date : 2011-09-06
Age : 25
Location : tabriz

View user profile http://coolbuzz.forumotion.com

Back to top Go down

Re: Connect nimbuzz using AgsXMPP

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum