Click here to Skip to main content
15,894,740 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionClosing tcp port on Dual 2 Core processor Pin
Draqonis26-Mar-07 5:22
Draqonis26-Mar-07 5:22 
QuestionMSI Programming Pin
tonyalex26-Mar-07 4:46
tonyalex26-Mar-07 4:46 
AnswerRe: MSI Programming Pin
Vasudevan Deepak Kumar28-Mar-07 7:48
Vasudevan Deepak Kumar28-Mar-07 7:48 
QuestionRaising an event from a composite control Pin
Richard Jones26-Mar-07 4:28
Richard Jones26-Mar-07 4:28 
AnswerRe: Raising an event from a composite control Pin
Richard Blythe28-Mar-07 6:03
Richard Blythe28-Mar-07 6:03 
GeneralRe: Raising an event from a composite control Pin
Richard Jones30-Mar-07 2:40
Richard Jones30-Mar-07 2:40 
GeneralRe: Raising an event from a composite control Pin
Richard Jones30-Mar-07 9:27
Richard Jones30-Mar-07 9:27 
QuestionRemoting with a Windows Service as a component host Pin
pezi_pink26-Mar-07 4:20
pezi_pink26-Mar-07 4:20 
Hello all,

I'm new to remoting and have been given a task which I'm having trouble with.

We have a bunch of windows services that perform various tasks, running on a remote computer. We need a way to interrogate the services remotely and return a number of given values from variables/props INSIDE the service. This will then be used to create a dashboard of values from our services at any given time so we can see they are all working properly.

I have setup a test program that uses a simple windows service as the component host, which registers my remote object to be instantiated by my test client program.

My question is, how do I refer back from the remoting object to my service to obtain the values required? As far as I can see, the remote object itself has no knowledge of the component host that it was instantiated from. I've read lots of text on remoting but nothing seems to mention access to the component host of the remoting object.

I've tried using ManagementObject and iterating through the services running, and I can find my service, but I can't find a way from there to access the custom properties of my service class, only the base properties of all services. Is there another way to obtain this information using the ManagementObject? Or is there a way from my remote object to reference back to its component host?

I tried using GetActiveObject() as well but that seems to not work for services Frown | :(

Any help would be much appreciated, there's probably a easy way to do this that I can't see.

Thanks
QuestionEncoding StreamReader in C# Compact Framework Pin
vonLochow26-Mar-07 2:34
vonLochow26-Mar-07 2:34 
QuestionGenerating MS Project File Pin
fulbright25-Mar-07 20:45
fulbright25-Mar-07 20:45 
QuestionBook on Plugin-Technology? Pin
Tomerland25-Mar-07 19:42
Tomerland25-Mar-07 19:42 
AnswerRe: Book on Plugin-Technology? Pin
Pete O'Hanlon27-Mar-07 1:14
mvePete O'Hanlon27-Mar-07 1:14 
QuestionStyle / customize the .NET Treeview Control (vertical spaces between nodes) Pin
jnkurz024-Mar-07 7:57
jnkurz024-Mar-07 7:57 
AnswerRe: Style / customize the .NET Treeview Control (vertical spaces between nodes) Pin
Christian Graus24-Mar-07 8:06
protectorChristian Graus24-Mar-07 8:06 
QuestionRe: Style / customize the .NET Treeview Control (vertical spaces between nodes) [modified] Pin
jnkurz025-Mar-07 1:32
jnkurz025-Mar-07 1:32 
QuestionNeed help with forms Pin
thesad24-Mar-07 1:01
thesad24-Mar-07 1:01 
AnswerRe: Need help with forms Pin
Christian Graus24-Mar-07 7:59
protectorChristian Graus24-Mar-07 7:59 
GeneralRe: Need help with forms Pin
thesad24-Mar-07 8:45
thesad24-Mar-07 8:45 
GeneralRe: Need help with forms Pin
Christian Graus24-Mar-07 13:19
protectorChristian Graus24-Mar-07 13:19 
Question.NET-BroadcastEventWindow - No Disk Pin
gmarian23-Mar-07 19:32
gmarian23-Mar-07 19:32 
AnswerRe: .NET-BroadcastEventWindow - No Disk Pin
Luc Pattyn24-Mar-07 2:20
sitebuilderLuc Pattyn24-Mar-07 2:20 
GeneralRe: .NET-BroadcastEventWindow - No Disk Pin
gmarian24-Mar-07 3:07
gmarian24-Mar-07 3:07 
Question.NET cannot find mfc42.lib?? Pin
Wheatbread22-Mar-07 11:35
Wheatbread22-Mar-07 11:35 
AnswerRe: .NET cannot find mfc42.lib?? Pin
Wheatbread22-Mar-07 12:54
Wheatbread22-Mar-07 12:54 
QuestionPorting VS60 projects to .NET 2003 Pin
Wheatbread22-Mar-07 10:07
Wheatbread22-Mar-07 10:07 

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.