Click here to Skip to main content
15,120,582 members
Home / Discussions / C#


GeneralRe: anyway thank sir!i get setparent but need placemark,polygon,etc.. i m just beginner. :-O Pin
Member 1252559627-May-16 4:55
MemberMember 1252559627-May-16 4:55 
GeneralRe: how can i show google earth in winform c# Pin
Pete O'Hanlon27-May-16 5:17
mvePete O'Hanlon27-May-16 5:17 
QuestionWhat Does Complexity of Algorithm Mean??? Pin
Django_Untaken26-May-16 1:14
MemberDjango_Untaken26-May-16 1:14 
AnswerRe: What Does Complexity of Algorithm Mean??? Pin
Richard MacCutchan26-May-16 1:18
mveRichard MacCutchan26-May-16 1:18 
Pete O'Hanlon26-May-16 1:20
mvePete O'Hanlon26-May-16 1:20 
GeneralRe: What Does Complexity of Algorithm Mean??? Pin
harold aptroot26-May-16 1:52
Memberharold aptroot26-May-16 1:52 
QuestionHow to read process Output Message from process within the process ?? Pin
ArunRagam26-May-16 0:45
professionalArunRagam26-May-16 0:45 
QuestionAdvice needed Pin
osxman25-May-16 11:14
Memberosxman25-May-16 11:14 

I have created an application that sits in the system tray on each PC, which collects system information using WMI and stores it in an SQL DB. I would like to be able to send commands to this application to invoke functions within the application. For example, I could send a shutdown command which when received would fire off a shutdown routine. I would like to be able to send messages to the end user which would fire off a procedure to display that message in a message box.

I was thinking of using the TCP listener class to have the application listen on a specified port, which I could then connect to, and send commands. I would appreciate it if somebody could advise me as to whether this is the right approach or is there an alternative way.

Thanks in advance

Neil (100% human)

modified 26-May-16 4:08am.

GeneralRe: Advice needed Pin
CHill6025-May-16 11:56
mveCHill6025-May-16 11:56 
GeneralRe: Advice needed Pin
OriginalGriff25-May-16 20:38
mveOriginalGriff25-May-16 20:38 
GeneralRe: Advice needed Pin
osxman25-May-16 22:50
Memberosxman25-May-16 22:50 
GeneralRe: Advice needed Pin
Pete O'Hanlon25-May-16 22:56
mvePete O'Hanlon25-May-16 22:56 
GeneralRe: Advice needed Pin
OriginalGriff25-May-16 23:04
mveOriginalGriff25-May-16 23:04 
GeneralRe: Advice needed Pin
osxman25-May-16 23:12
Memberosxman25-May-16 23:12 
GeneralRe: Advice needed Pin
OriginalGriff25-May-16 23:17
mveOriginalGriff25-May-16 23:17 
GeneralRe: Advice needed Pin
osxman25-May-16 23:31
Memberosxman25-May-16 23:31 
GeneralRe: Advice needed Pin
Richard Deeming26-May-16 2:58
mveRichard Deeming26-May-16 2:58 
GeneralRe: Advice needed Pin
rickrose050626-May-16 4:11
Memberrickrose050626-May-16 4:11 
GeneralRe: Advice needed Pin
Mycroft Holmes26-May-16 15:36
professionalMycroft Holmes26-May-16 15:36 
AnswerRe: Advice needed Pin
Garth J Lancaster26-May-16 1:10
mveGarth J Lancaster26-May-16 1:10 
AnswerRe: Advice needed Pin
F-ES Sitecore26-May-16 1:16
mveF-ES Sitecore26-May-16 1:16 
AnswerRe: Advice needed Pin
Gerry Schmitz26-May-16 8:13
mveGerry Schmitz26-May-16 8:13 
QuestionConvert Pin
Bakeel25-May-16 10:36
MemberBakeel25-May-16 10:36 
QuestionRe: Convert Pin
CHill6025-May-16 11:53
mveCHill6025-May-16 11:53 
AnswerRe: Convert Pin
ZurdoDev29-Aug-16 10:12
professionalZurdoDev29-Aug-16 10:12 

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.