| |
by: Mike |
last post by:
I want to create a windows service that will monitor another window service.
what i need for the service to do is, if a service is stopped I need it to
start the service back up
example:
service 1 - my service watches service 2 - windows service
service 2 is stopped - service 1 starts service 2
|
by: Jesper Stocholm |
last post by:
I have created a simple service which just copies a fil to a new file
with a new name on certain intervals (the service implements a timer).
I have no problems installing the service and the log-entries I have
created on stop() and start() in the eventlog works fine as well.
However - the actual task is never executed. I catch the execution of
the tick and in the finally-block I write to the eventlog as well. But
only one entry is creates...
|
by: Mark |
last post by:
I created an extremely simple windows service that only writes to the
EventLogs on Stop and Pause. I installed it using the InstallUtil.exe
program, the output of which is below. It appears to be successful. I'm
now ready to start my service (I think) but the NET START command does not
appear to indicate that the service is available to be run. The output for
NET START is below as well. The Services list in the W2K administrator...
|
by: BW |
last post by:
Hi all! I'm not sure where to post this so I'm giving these a try. If there
is a better (more appropriate) place to post please let me know.
I want to create a service (in C#). The service's purpose is to monitor a
given service, and when the service becomes disabled and/or stopped I want
to restart the service.
I have figured out how to restart a stopped service by using the
ServiceController.Start() method.
|
by: mpriem |
last post by:
Hi,
I am developing my very first Windows Service.
I want to query AD every 5 minutes to generate a Report which I will
use in a website.
I use the following testcode, but the service won't start in a timely
fashion. What am I doing wrong?
using System;
using System.IO;
|
| |
by: Chris Dunaway |
last post by:
I wish to write a small application that will allow me to start and
stop a windows service on another server.
Currently, I have to connect to the server using Remote Desktop
Connection and then log into the server using a special login and
password. Then I can open the services applet and start and stop the
server.
This is very inconvenient for debugging the service. What I would like
to do, from my dev box, is somehow connect to...
|
by: Rotzooi |
last post by:
Hi,
I have a VB.NET Service application that's running fine under the Local
System account. But for configuration purposes I don't want to be dependent
on modifying the registry manually or using an seperate application (like I
do now).
I want to implement a system tray icon when someone logs on to the console.
I've tried several samples but I can't get the icon to the system tray. I
know there are some issues because the logged on...
|
by: JamesB |
last post by:
A week or two ago I posted queries about retrieving user details about a
certain process and it all worked fine in the end, the service happily
reported when the required application was started/stopped and everyone was
happy.
A new problem has come to light though, that when someone turns on their PC,
my service isn't starting. Looking in the event log, I have the following
error:
Service cannot be started....
|
by: sachinkale123 |
last post by:
I want to stop Sql server Agent Windows service.
I am using below code to stop or start the windows service. Which is I am doing sucessfully.
ManagedComputer mc = default(ManagedComputer);
mc = new ManagedComputer();
Service svc = default(Service);
svc = mc.Services;
if (svc.ServiceState == ServiceState.Running)
{
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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: 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: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|