I have created a Windows service application in C# that utilizes a FileSystemWatch er object to monitor changes to files in a directory specified in a configuration file. This service is being hosted on a Win2K3 server. The folder to be monitored is specified using a UNC path to a named share on a different Win2K3 server. The service is configured to run using a domain account that was created specifically for this service to run under.
...
Search Result
Collapse
14 results in 0.0042 seconds.
Keywords
Members
Tags
-
C# Windows Service -- How to Configure Security
-
Windows service vs Exe
Hi Friends,
I need to implement parallel and dependent downstream system population. Here my doubts is about approach whether i've to go with windows service or exe which will be run through SQL job.
What is the good achivements will get using the approach.
performance is the key to me.
Please suggest me ASAP.
thanks in advance to all for the suggestions and who is going to reply ... -
Windows service not able to capture Login/Lock/Unlock in win7
Windows service not able to capture Login/Lock/Unlock in Win7.
if any one knows the solution or any idea or approach, please help me out.
waiting for all of your positive response.
Thanks in Advance.. -
Using a windows service to open an Excel file
Hi,
I am using an IIS application to launch a windows service which then opens a (2003 or 2007) Excel file. When my Excel add-in receive the 'open' message, it will try use the following code to open the Excel file.
Microsoft.Offic e.Interop.Excel .Application.Wo rkbooks.Open(fN ame, False, 1) 'fName is the path to the file
Then I got the exception:
"Microsoft Office Excel cannot access the file... -
Start/Stop windows service dependent on wmi
Hi,
I have developed a windows service which records the applications (processes) that runs on the machine.
To get the process start trigger i have used wmi.
Code:Obj_ManagementStartWatcher = New ManagementEventWatcher("Select * From Win32_ProcessStartTrace") AddHandler mObj_ManagementStartWatcher.EventArrived, AddressOf Proces_Arrived Obj_ManagementStartWatcher.Start()
-
How to find windows service last start time?
Hi, I am working on a C# based monitoring application mostly using WMI to do the monitoring.
I have a requirement of finding the last start time of a windows service i.e., the exact time when the windows service was started.
Upon further investigation, i found that i can get the windows process details related to a particular windows service. But, still couldn't figure out how to find the last start time..
... -
Unable to launch a xe when using Createprocess
Hello,
My requirement is to launch a program (exe) automatically when the system boots. The program needs to run in minimised mode.So what I am doing is created a windows service, starting at automatic mode which will launch this program. I am using a createprocess to launch the program.
CreateProcess ( NULL,
processCCVName,
NULL,
NULL,
FALSE,
... -
starting a process c# access denied
Hi,
I have a windows service running whose job is to look for a process and launch if not found.
The statment is : System.Diagnost ics.Process.Sta rt(path,usernam e,password,doma in).
parameters are :
path : path to the executable i.e....some path/myapp.exe
username : any windows xp limited account.
domain : String.Empty---i dont know what domain name to give
... -
MalikTahirMahmood started a topic How can i browse the website programmatically by a windows service?in C SharpHow can i browse the website programmatically by a windows service?
Hi,
i am developing a car rental application, in which i required to get data from
"salik Web site" UAE Toll system, I created one Desktop application in which i placed on webbrowser control and then programmaticall y login to the website and got all the required data, but since we need to collect data after every 15 mins so i want to create a windows service which can perform these tasks. So my question is How can i browse... -
Rolling File Appending logging in .Net 1.1
Hi,
I am developing a windows service for FTP communication.
This service will be installed in WindowsXPe environment where spaces is abt 2GB. i want to implement rolling file appender logging.
I tried Log4net i am getting problems.
Please suggest if i can use some other logging -
Installer. Set registry key permissions
I coded a windows service in Visual Studio 2005, I have the installer with it.
The registry keys for the service are created in System\controls et001\MyService .
The service is installed with LocalService account.
Problem is, after installing it, my service tries to add a key into that registry key location (intentionally added in the code), and it always fails because it does not have permissions, so I have to manually... -
Saving application settings in Windows Service
Hi,
I'm working on a Windows Service (C#) and have added a few Application scope settings in it. Since application-scoped setting are read-only, I have manually added "set" functions for each of them in the designer-generated code. Now I can assign value to these settings at run-time and call the Save function without any exceptions, but this doesn't actually save them to the disk file. Whenever my service restarts, i find... -
Comunication: Web Services, Windows Service, ASP.NET Website
Hello,
I would like to develop a:
- Windows Service for doing specific Tasks
- Web Service as a communication gateway between the Windows Service and a ASP.NET Website
- ASP.NET Website
The scenario:
A user clicks a button on a ASP.NET website to get some forecast. The button invokes a web service method i.e. GetForecast(). Now the web method calls a task method on the Windows Service. Finally the... -
Windows Service restart on exception
Hello
I'm building a windows service that grabs information from a website periodically, and the goal is to start all over again, when finding an exception, for example when internet disconnects.
Any help would be appreciated.
Code below
Code:public string cadena(string pagina) { try { String cadena; WebRequest myWebRequest =