PC Review


Reply
Thread Tools Rate Thread

Communicating With A Service Via A GUI - Need some ideas....

 
 
Tappy Tibbons
Guest
Posts: n/a
 
      11th Dec 2003
We are trying to write a simple GUI front end to communicate with a service.

We need the GUI to make the service fire certain events if the user needs to
re-perform certain tasks manually, and possibly return a result string with
back to the user from what the service did, records processed, errors, etc.

We are thinking there should be a system tray icon as well that the user
uses to open the GUI as needed.

We tried to keep it simple, and just make a service out of our existing GUI
form, and set it to interact with the desktop. Apparently, right click menus
do not work with system tray service apps, and the icon itself doesn't go
away as expected when the app shuts down. All in all, not a very elegant,
stable or confidence inspiring solution.

We then tried to make a separate GUI app, and keep all UI out of the
service. The process controller I think we can only SEND integer commands,
so it is not really powerful enough.

Should we be looking at remoting? Is there an easier way? We have been
through a half dozen examples on MSDN, various articles, etc. and by the
time we try to put a remoting sample together with a service example with a
system tray icon example, then get all the .dll's created, build an install
program, then try to get it installed on a test machine it all falls apart.

Any ideas on this? We have been doing stuff like this for years with pre-dot
net versions of VC, but just can't get our heads around doing it now with
..NET.

Thanks....





 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Communicating with a service John Microsoft VB .NET 5 15th Feb 2008 02:15 PM
Communicating with a service John Microsoft Dot NET Framework Forms 1 14th Feb 2008 08:13 PM
Communicating with a service John Microsoft VB .NET 1 14th Feb 2008 08:13 PM
C# service - communicating with service controller app? Jason McLean Microsoft C# .NET 0 16th Apr 2004 10:31 PM
Communicating With A Service Via A GUI - Need some ideas.... Tappy Tibbons Microsoft Dot NET Framework Forms 0 11th Dec 2003 01:57 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:48 PM.