SendMessage - WeOnlyDo Discussion board

SendMessage (wodXMPP)

by zackrspv, Tuesday, October 27, 2009, 04:22 (5504 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?

Re: SendMessage

by woddrazen, Tuesday, October 27, 2009, 09:06 (5504 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

Re: SendMessage

by gothic_coder, Thursday, December 16, 2010, 07:45 (5089 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.

Re: SendMessage

by wodDamir, Thursday, December 16, 2010, 09:05 (5089 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

Re: SendMessage

by gothic_coder, Thursday, December 16, 2010, 09:12 (5089 days ago) @ wodDamir

Yes Thank You Damba :)