Click here to Skip to main content
15,912,837 members
Home / Discussions / C#
   

C#

 
GeneralRe: Try{}Catch{} Problem Pin
Jammer7-Apr-08 13:09
Jammer7-Apr-08 13:09 
GeneralRe: Try{}Catch{} Problem Pin
Jammer7-Apr-08 13:30
Jammer7-Apr-08 13:30 
GeneralRe: Try{}Catch{} Problem Pin
Luc Pattyn7-Apr-08 14:58
sitebuilderLuc Pattyn7-Apr-08 14:58 
GeneralRe: Try{}Catch{} Problem Pin
Jammer7-Apr-08 23:16
Jammer7-Apr-08 23:16 
Questionhow to convert excel files to fixed length files Pin
vihari7-Apr-08 7:34
vihari7-Apr-08 7:34 
GeneralRe: how to convert excel files to fixed length files Pin
Christian Graus7-Apr-08 11:32
protectorChristian Graus7-Apr-08 11:32 
JokeRe: how to convert excel files to fixed length files Pin
PIEBALDconsult7-Apr-08 14:11
mvePIEBALDconsult7-Apr-08 14:11 
QuestionC# Service / program comms Pin
I'm a member...7-Apr-08 6:54
I'm a member...7-Apr-08 6:54 
All,

A bit of a newbie so be nice!

I have a C# service program that is busy processing files etc
I have a C# Windows program that I want to display in a statuslabel, the current activity of the service. Basically, what file its processing etc etc.

I have looked at a number of ways of using IPC but dont seem to be getting far. First, I looked at Sockets and remoting and made some head way but got in to difficulty if the windows program was closed and then started again. It seems that re-establishing a connection is not easy (at least not for my poor programming skills!)
I then looked into pipes (named and otherwise) but had similar problems to above.

I just want the service to keep broadcasting what its up to, regardless of wether the windows program is running or not. And then if someone starts the windows program, they will get a statuslabel with the current activity of the service.

I then looked at using the clipboard but couldn't get that to work at all, which I thought was odd as it seems to be the easiest one to implement.

Any help greatfully recieved!!!!!

Darin
GeneralRe: C# Service / program comms Pin
led mike7-Apr-08 7:17
led mike7-Apr-08 7:17 
GeneralRe: C# Service / program comms Pin
carbon_golem7-Apr-08 8:36
carbon_golem7-Apr-08 8:36 
Generalusing a List<> object in an abstract class Pin
Vodstok7-Apr-08 6:17
Vodstok7-Apr-08 6:17 
GeneralRe: using a List<> object in an abstract class Pin
Giorgi Dalakishvili7-Apr-08 6:27
mentorGiorgi Dalakishvili7-Apr-08 6:27 
GeneralRe: using a List<> object in an abstract class Pin
Vodstok7-Apr-08 7:29
Vodstok7-Apr-08 7:29 
GeneralRe: using a List<> object in an abstract class Pin
Giorgi Dalakishvili7-Apr-08 7:53
mentorGiorgi Dalakishvili7-Apr-08 7:53 
GeneralRe: using a List<> object in an abstract class Pin
Vodstok7-Apr-08 8:11
Vodstok7-Apr-08 8:11 
GeneralRe: using a List<> object in an abstract class Pin
Giorgi Dalakishvili7-Apr-08 8:17
mentorGiorgi Dalakishvili7-Apr-08 8:17 
GeneralRe: using a List<> object in an abstract class Pin
Vodstok7-Apr-08 8:23
Vodstok7-Apr-08 8:23 
GeneralRe: using a List<> object in an abstract class Pin
Giorgi Dalakishvili7-Apr-08 8:33
mentorGiorgi Dalakishvili7-Apr-08 8:33 
GeneralRe: using a List<> object in an abstract class Pin
Vodstok8-Apr-08 6:24
Vodstok8-Apr-08 6:24 
GeneralRe: using a List<> object in an abstract class Pin
Giorgi Dalakishvili8-Apr-08 6:39
mentorGiorgi Dalakishvili8-Apr-08 6:39 
GeneralRe: using a List<> object in an abstract class Pin
Vodstok8-Apr-08 7:13
Vodstok8-Apr-08 7:13 
GeneralRe: using a List<> object in an abstract class Pin
Giorgi Dalakishvili9-Apr-08 0:10
mentorGiorgi Dalakishvili9-Apr-08 0:10 
GeneralPassing Data between 2 exes. Pin
Ian Uy7-Apr-08 6:01
Ian Uy7-Apr-08 6:01 
GeneralRe: Passing Data between 2 exes. Pin
Anthony Mushrow7-Apr-08 6:06
professionalAnthony Mushrow7-Apr-08 6:06 
GeneralRe: Passing Data between 2 exes. Pin
Christian Graus7-Apr-08 11:33
protectorChristian Graus7-Apr-08 11:33 

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.