SendMessage (wodXMPP)
*bangs head on wall*
Is it possible for someone to provide a VB, C+, C++, or C# example of the SendMessage function?
It's driving me nuts. I init the object, i add the values to the object, call it from the main jabber object, and get type mismatch, driving me insane.
I learn better through examples, so if anyone could provide?
Re: SendMessage
Hi,
Can you please check wodXMPP samples? You can find samples inside wodXMPP Samples folder.
Maybe they can help you to start developing with wodXMPP.
Let us know how it goes.
Regards,
Drazen
Re: SendMessage
Hello Drazen,
Almost in all the examples i found SendText as sending the text, I don't find any sample using SendMessage , using my brain to use SendMessage ends up in some serious exception error.
Could you please give a sample here.
Thanks.
Re: SendMessage
Ash,
In C#, SendMessage can be used like this:
[code] WODXMPPCOMLib.XMPPMessageClass msg = new WODXMPPCOMLib.XMPPMessageClass();
msg.Text = textBox2.Text;
wodXMPP1.SendMessage(JID, msg);[/code]
Hope this helps.
Regards,
Damba
Re: SendMessage
Yes Thank You Damba :)