SendMessage (wodXMPP)

by zackrspv @, (5711 days ago)

*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?

locked

Re: SendMessage

by woddrazen @, (5711 days ago) @ zackrspv

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

locked

Re: SendMessage

by gothic_coder @, (5296 days ago) @ woddrazen

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.

locked

Re: SendMessage

by wodDamir @, (5296 days ago) @ gothic_coder

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

locked

Re: SendMessage

by gothic_coder @, (5296 days ago) @ wodDamir

Yes Thank You Damba :)

locked