68 Topics
Hello All, I need to develope an application to receive POP3 emails automatically at regular intervals. I am totally a newbie to this one and need your kind help. The application should fetch emails using some service that would run in the background. So basically I need 2 things (I …
Java code to get windows service start time ? Like how we get using Process Explorer. Thanks in Advance! PFL for Screen Shot: https://drive.google.com/file/d/0B5KXd3eMbanKckt0YXZCTERWU2c/view?usp=sharing
Good morning! I was wondering if anyone could send me in the correct direction to locate documentation on how the Windows Sensor and Location Platform gets its data so that I can have a Windows service that will respond to GPS requests (without actual GPS hardware)? I'd like to have …
Windows exe file Is there a way to register for a Windows Service? Windows exe file Windows will need to sign up for service. Only possible way without any changes to the registry is required. Please help me.
Hey... I think there was already thread with simillar topic. but there was nothing useful to me... so i decided to create a new topic to take help from you. Well the question is really simple. I have developed a Windows service application and console application. i am looking to …
I created an application that can looks into the database for people having their birthday today and then send mail to them. The issue is that I want the system to do this automatically instead of me clicking it every day. I tried a scheduler but it stops working after …
hi, am new to WCF Technology. i want to communicate between wcf service and windows service. can please help on this.
Hi, I need to create windows services that will back up MS SQL database. Parameter should be time period when I want to backup database (for example every hours, every 2 hours etc). I haven't any experience with backing up database. Once I made WCF service. How can I do …
Hi, Iam having issues with a part of my code in a windows service that prevents it from being installed with the error,nullrefrenceexception unhandled.here is the code public string GetEncryptedText(string PlainStringToEncrypt) { string DigitalCertificateName = "URAioPmtCert1"; X509Store store = new X509Store(StoreName.Root); X509Certificate2 x509_2 = null; store.Open(OpenFlags.ReadWrite); if (DigitalCertificateName.Length > 0) …
I need to create a service that will call a batch file. Here's the catch though - once the service calls the batch file, the command window that the batch file runs in must be visible on the desktop, it cannot run hidden. So far nothing I've tried results in …
Hi. I am new to developing services and I am trying to develop a service that can print out labels from something called Codesoft. I have added a reference to the Codesoft component/server. I have tried to make at standard Windows forms application with Exactly the same code and it …
I can't catch exception on windows services. I've already tried the following: [CODE]AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(handlerMethod);[/CODE] alone and in combination with: [CODE]Application.SetUnhandledExceptionMode(UnhandledExceptionMode.ThrowException);[/CODE] It doesn't even function with: [CODE]Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException);[/CODE] I've also tried: [CODE]Application.ThreadException += new ThreadExceptionEventHandler(handlerMethod);[/CODE]
Hi all, can anybody please tell me whether is it possible that through windows service we can able to move file from one machine to another....??? what i made is first i checked with normal windows application ,by creating a mapped drive to my machine. ex:- Y:\ and i was …
Hi, I have developed a windows service application, by using multi threading, multiprocessing too. Problem 1 : After service starts it takes the server into 100% CPU usage. Problem 2 : If suppose i stop the service also, the process not stop, i can able to monitor that through task …
i have a serial communication process (windows service type prgrm), and a server client program. how can the server be integrated inside the windows service type process i.e., whenever i start the serial process the server program should also run. please do leave me with solution,suggestions,advise or the code it …
Hello, I've written a windows service that I am trying to get to write out to a custom log. In the partial class, it tests for and (I thought) should create a registration to the custom log: [CODE] public partial class ScriptTrigger : ServiceBase { public ScriptTrigger() { InitializeComponent(); if …
using System; using System.Threading; using System.Net.Sockets; using System.Text; namespace ConsoleApplication1 { class Server { static void Main(string[] args) { TcpListener serverSocket = new TcpListener(8889); TcpClient clientSocket = default(TcpClient); int counter = 0; serverSocket.Start(); Console.WriteLine(" >> " + "Server Started"); counter = 0; while (true) { counter += 1; clientSocket = …
Hello, How to run exe program from windows service using c#. This is mycode: [CODE]System.Diagnostics.Process.Start(@"E:\PROJECT XL\INI SQLLOADER\ConsoleApplication2\ConsoleApplication2\ConsoleApplication2\bin\Debug\ConsoleApplication2.exe");[/CODE] When i run this service not happening. Please tell me whats wrong with my code. Thanks
Quick (really) question about windows services. According to the documentation, services require a minimum of 2 methods OnStart() and OnStop() to be useful. OnStart() cannot contain the main execution code, it shouldn't loop, block or otherwise prevent the OnStart() method from returning quickly. The Question: If the above is true...it …
hi guys thanks everyone for help in my last post now i made my windows service that get response from a web service and everything is working well. all that i need now is: 1- The windows service should pop-up something saying there is a new application to be downloaded …
Hi Team - do you guys have any idea how to use windows application form controls within windows service ? Actually i want to build reminder application which will show popup message in Tray icon of System within a given time interval. I don;t want on daily basis user run …
I'm playing around with c# cos I was bored and I wanted to have a go at making a simple windows service that spits out a quote of the day if you telnet on a certain port. I have it working but I'm not sure of the best way to …
Dear Sir. I do my program with VB.NET and use windows service to run some module with windows OS everything is fine. But I want to know how I can put the Description of my service to the Administrator Service Tools. I try to find anyway but never know in …
Hi Team - do you guys have any idea how to call windows service from windows application form ? Actually i want to build reminder application which will show popup message in Tray icon of System within a given time interval. I don;t want on daily basis user run separate …
C# code snippet demonstrating how to set the status of a specified Windows service. Provide the name of the service and it's value (it's an integer value described in the comments)
hi there ... i need some help .. i m doing a windows service ... it involve capturing pic for the user using the computer every 60 sec interval... i have create a timer and allow it to take every 60 sec and save into the folder... beside tt .. …
Hey guys! Does anyone out there know of a way to debug a windowsservice? Fanx and happy coding! :)
k, what i'm trying to do is create a windows service to run in the background to monitor [URL="http://www.vmware.com/products/player/"]vmplayer.exe[/URL] to see if it is running or not. then if it is running, then turn on the various hardware, software, and services it needs/uses to run, and if it is not …
Hello , I need an approach for my new assignment.Thought a lot but could'nt find an approach so posting it in this site hoping that someone might have come accross this situation and can suggest me something :-) I have a console application that downloads images from IP cameras (say …
Hello. I´m trying to program a windows interactive-service general purpose keylogger. In the code I´m trying to use GetAsyncKeyState(int ) function to know if a key was pressed, but I know a Windows Service runs in a different desktop than the active user, so the function fails. Does someone know …
Hi all..need a little help from u all. i have created a windows application using vb.net wht i want to do is create a windows service for this application so that it can be started automatically or manually and started and stopped on demand. i have gone thr some forums …
Sir I have Create a windows service that is shown in task manger. Now I want to call that windows service into windows UI application . How to call it .plz help.
How can to show a simple windows form in windows service? I writen a windows service that i need to show a simple windows form when service is started...! Regards
Hi, I am trying to create a service for my windows application. The service would just call an application if it detects a USB device inserted on the computer. I want to register for device change notification to receive all the usb device event messages. In order to register for …
I've created 2 windows services that use the System.Timers.Timer. I've installed both of them, and they both work fine on my development Win XP machine. I'm using the installutil program to install them. I've installed them both on a Win2k3 server. One of them works but the other one never …
Hi all. I am required to make a program appear a registration form upon the insertion of a USB device. And this registration form is supposed to appear once, when the USB device is inserted for the first time. I am told that I am supposed to make a Windows …
HElp needed to create a windows service , to launch a simple thread created by the user. I got an article here... [url]http://www.devx.com/cplus/Article/9857/1954[/url] But how to create a thread at apropriate places , like STOP , RESUME , SHUTDOWN?.PLease give me some pointers , thanks in advance...
Hi, I'm looking to create a single exe / windows service that will convert and size given images. The application must be able to accept simultaneous calls from multiple external applications and notify the calling application once completed. Note, that I'm looking to have one conversion application dealing with all …
Hello all, How to make Java Application to a Windows Service? thx~
I have a created a C# windows service (Serv.exe) which is responsible for performing various tasks at the request of a running application (A.exe), some of these can take long periods of time and I need a way to know the status of my requested operation (running on the service) …
I have written a Windows service using FileSystemWatcher. It successfully processes one file when dropped into the target directory, but doesn't do anything when a subsequent file is dropped. Any suggestions would be welcomed.
I have a little situation that I can't seem to resolve and was hoping someone might have some suggestions ... I have a Windows Service (Serv.exe) which runs under LocalSystem when a user is logged-on (it is only running when users are logged-on), this service is responsible for performing various …
Hi, i want to implement a windows service that functions as a simple license security feature for a software X. The service is meant to run independently from software X. [B]My current idea:[/B] [LIST]The service is like a timebomb for a software Z installed on the machine...[/LIST] [LIST]Whenever the user …
Hi! I am creating a windows service. I want to know that , is there any other way to install windows service than using installutil.exe ? I don't want to install my windows service on client's machine using command prompt. Better way if I can install it using setup. Thanks …
Hi Guys, I have written a windows c# service that basically write out some text to a file in the onStart function. The program works fine when i manually start or stop it. Now if i leave it started and restart my system, the service does not seem to do …
Hi, I have a Windows Socket Server console app which executes power shell scripts, and it is working great. But when I try to covert it into a Windows Service it doesnt work. The service is created it does not hang as such, but when I ping the IP/Port of …
Hi I want to create a Reminder for the User which should remind him about his activity. It should be like a windows form with some content & snooze,Close buttons. But I am unable to use GUI in Windows services :( ... The error is as follows [B]"It is invalid …
Hi I want to create a Reminder for the User which should remind him about his activity. It should be like a windows form with some content & snooze,Close buttons. But I am unable to use GUI in Windows services... :( The error is as follows [B]"It is invalid to …
Hi to all. I created a MSI Setup which contains three Projects 1.Windows Application 2.Windows Service 3.Custom Action Data The SetUp is Installing and Uninstalling Successfully.Some times if Due to some error while Uninstallation First the Service is Removed and then due to some Problem in Uninstallation it is Stopped …
Hi guys, Not sure where to ask this so I figured I'll start with C#. I would like to write a windows service that will allow some external device or authentication provider to log a user into windows. For example, a finger print reader can log a user into windows …
The End.