Click here to Skip to main content
16,015,641 members
Home / Discussions / C#
   

C#

 
AnswerRe: C++ header to .NET? Pin
Heath Stewart26-Oct-04 6:23
protectorHeath Stewart26-Oct-04 6:23 
GeneralC# with some code in MFC Pin
ee9903526-Oct-04 4:40
ee9903526-Oct-04 4:40 
GeneralRe: C# with some code in MFC Pin
Judah Gabriel Himango26-Oct-04 5:20
sponsorJudah Gabriel Himango26-Oct-04 5:20 
GeneralRe: C# with some code in MFC Pin
Heath Stewart26-Oct-04 6:30
protectorHeath Stewart26-Oct-04 6:30 
GeneralSleep function in C# Pin
Ariadne26-Oct-04 4:16
Ariadne26-Oct-04 4:16 
GeneralRe: Sleep function in C# Pin
Judah Gabriel Himango26-Oct-04 4:24
sponsorJudah Gabriel Himango26-Oct-04 4:24 
GeneralRe: Sleep function in C# Pin
Gary Thom26-Oct-04 4:29
Gary Thom26-Oct-04 4:29 
GeneralSending Messages between Networked Computers. Pin
acidik26-Oct-04 3:29
acidik26-Oct-04 3:29 
Hi,

I'm trying to write a [fairly basic] program that lets you send a message from one computer to another on the same network (either based on the name of the logged in user, or the name of the workstation itself -- undecided as of yet) and I'm struggling to figure out how to go about it.

---
The Scenario, or 'What I Want to Happen':
Joe Nobody loads up the application on his computer. He's presented with a drop-down menu that contains a list of users currently logged into the network, a text box for typing his message and a button that says 'Send!' He selects Katie Nobody from the list, types 'Hello Katie!' and sends it.

Katie, who also has the application running on her computer, sees Joe's message pop up. She reads it and decides to reply. She hits the 'reply' button on her incoming message window, types her reply in the messagebox provided for replying and sends her message back to him.

The two of them now have a window that connects them together without needed to re-state which user they're talking too and can continue their conversation for as long as they'd like to.
---

The purpose of writing the program is two-fold; I need a program that does this (and only requires minimal features) and I'm trying to learn more C#. I've been scouting around MSDN but, perhaps because I'm not sure where to start looking, I'm struggling to figure out how to begin. I thought about using MessageQueue -- is that a viable option?

If anyone can give me a couple of starting points for sending messages between networked machines or point me to references/articles, I would be very grateful!


Thanks in advance,
Keija.
GeneralPlus: Error message when adding a MessageQueue control... Pin
acidik26-Oct-04 4:18
acidik26-Oct-04 4:18 
GeneralRe: Sending Messages between Networked Computers. Pin
Judah Gabriel Himango26-Oct-04 4:31
sponsorJudah Gabriel Himango26-Oct-04 4:31 
GeneralRe: Sending Messages between Networked Computers. Pin
Heath Stewart26-Oct-04 6:39
protectorHeath Stewart26-Oct-04 6:39 
GeneralRe: Sending Messages between Networked Computers. Pin
Judah Gabriel Himango26-Oct-04 8:47
sponsorJudah Gabriel Himango26-Oct-04 8:47 
GeneralRe: Sending Messages between Networked Computers. Pin
Dave Kreskowiak26-Oct-04 4:48
mveDave Kreskowiak26-Oct-04 4:48 
GeneralRe: Sending Messages between Networked Computers. Pin
S. Senthil Kumar26-Oct-04 6:28
S. Senthil Kumar26-Oct-04 6:28 
GeneralRe: Sending Messages between Networked Computers. Pin
ppp00114-Aug-05 23:43
ppp00114-Aug-05 23:43 
QuestionOpen HTML page in Window application? Pin
Miri Ofir26-Oct-04 3:09
Miri Ofir26-Oct-04 3:09 
AnswerRe: Open HTML page in Window application? Pin
Judah Gabriel Himango26-Oct-04 4:34
sponsorJudah Gabriel Himango26-Oct-04 4:34 
GeneralRe: Open HTML page in Window application? Pin
Miri Ofir30-Oct-04 19:52
Miri Ofir30-Oct-04 19:52 
GeneralBuilding Wizards Pin
shevi202726-Oct-04 2:58
shevi202726-Oct-04 2:58 
GeneralRe: Building Wizards Pin
Judah Gabriel Himango26-Oct-04 4:38
sponsorJudah Gabriel Himango26-Oct-04 4:38 
GeneralRe: Building Wizards Pin
Nick Parker26-Oct-04 7:42
protectorNick Parker26-Oct-04 7:42 
GeneralEvent in MyButton Pin
zsiga26-Oct-04 2:43
zsiga26-Oct-04 2:43 
GeneralRe: Event in MyButton Pin
Gary Thom26-Oct-04 4:33
Gary Thom26-Oct-04 4:33 
GeneralDatagrid column with a different.. Pin
S4E26-Oct-04 1:46
S4E26-Oct-04 1:46 
GeneralRe: Datagrid column with a different.. Pin
Judah Gabriel Himango26-Oct-04 4:41
sponsorJudah Gabriel Himango26-Oct-04 4:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.