Click here to Skip to main content
15,888,454 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
I have created a chatting application using remoting concept.
I works well for group chat.

I am displaying all the online user in a list box.

When I press a particular person a new form open for private chat.

There I have a rich textbox to record chat message and a text box to enter chat message.

When I press enter corresponding form should be opened on the client side displaying my message.

How to do this
Posted
Updated 25-Jun-14 0:01am
v2

1 solution

You didnt show code and just asked for a "how". But who should guess how your code is structured and your app is implemented? It's hard to imagine where you possibly got "stuck" with that.

So I'd suggest: On Client side add a handler for "message received" (or whatever you call it),
take the message and show it - by opening a new Form (not on every message I hope? )or adding the message to a existing Forms control (a TextBox or what you have).

I fear my answer won't help you much - but fit's the "Quality" of your question.. - No joke aside, as usual: Show code, ask for specific Problem solution, and tell where you stuck - You are a member for 5 months now - maybe read the Forum rules (again)?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900