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.... 0 932 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Gavin Reynolds |
last post by:
I am test developing an internal webserver, on Windows XP, and IIS 5.1, with
ASP and MySQL.
One specific page is created from user input and database records in
previous pages and presents a page with customised data and a webform. It
then takes input from the form and session variables and passes these to an
vb exe in the the wwwroot using the from
http://localhost/example.exe?testparameters. The vb exe takes the command
line parameter...
|
by: Keith |
last post by:
I'm in the same boat as the fellow who posted this message back in
August:
Title : Windows Service, How does one make a service "fail" properly?
Author : Ross Bennett
Group : microsoft.public.dotnet.languages.csharp
URL :...
|
by: Mike |
last post by:
I have written a windows service that has a few methods which have a
return type of dataset. I also have an application that I have
written which I would like to 'hook' into my service and use the
dataset functions I have developed. My service and application are two
seperate projects under the same solution. My problem comes in when
I try to 'hook' into the service and call anything from it.
I have tried using the ExecuteCommand...
|
by: Gabe Moothart |
last post by:
Hi,
I have 3 applications (2 services and a winforms app) that need to be
able to send/recieve messages from each other. What is the best way to
do this in .NET? I looked briefly at remoting, but it seems like it
might be overkill since the applications are all on the same machine. I
could use an xml file which they can all read/write to... but I was
wondering what best practice for this kind of thing is in .NET. Any ideas?
TIA,
Gabe
|
by: joe bloggs |
last post by:
I am writing a mobile application to interface with a legacy system and I am
planning to use web services to communicate with this system. The legacy
system receives data through a serial port. What I would like to do is make
the serial port accessible via a web service.
The web service and the legacy application would be running on the same
machine. The mobile application would access the web service via a network
connection. It...
| |
by: Tom Yee |
last post by:
I would like to write a Windows Service that can communicate with any open
browser windows that an interactive user may be running. The service itself
does not need to have a UI.
The company that I work for develops software that monitors Customer Service
Representative (CSR) performance. When you call a help desk and hear "This
call may be monitored for quality purposes", the software that does this
monitoring very likely has been...
|
by: Diego F. |
last post by:
Hello. I have a windows service running that listens to a port and makes
insert queries in a database.
I need to make an interface, so my idea is creating a simple windows
application that just shows messages from the service.
Can I do that with remoting? What are the main steps to do that?
--
|
by: brvan41 |
last post by:
I was wondering if anybody might have any ideas on communicating back and forth to multiple computers on a network?
I don't know if it is possible, but I was thinking of a " Task Manager" way. Everytime a user clicks the enter button, it would somehow display the way the task manager does. Always up,(only the task manager has to be called), and it is being written to. What do you guys think and would it be possible?
Any ideas would grreatly be...
|
by: John |
last post by:
Hi
I need a vb.net winform app to be able to query a service (also written in
vb.net) and get info in return. Is it possible? Is there a way to do this?
Thanks
Regards
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |