68 Topics

Member Avatar for
Member Avatar for KushMishra

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 …

Member Avatar for Elpat14
1
2K
Member Avatar for prashant_savadi

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

Member Avatar for rproffitt
0
69
Member Avatar for zachattack05

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 …

Member Avatar for zachattack05
0
199
Member Avatar for ms1655516

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.

Member Avatar for Reverend Jim
0
306
Member Avatar for ManthanB

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 …

Member Avatar for ManthanB
0
283
Member Avatar for Xeta

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 …

Member Avatar for tinstaafl
0
309
Member Avatar for lokeshmv86

hi, am new to WCF Technology. i want to communicate between wcf service and windows service. can please help on this.

0
43
Member Avatar for aldm

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 …

0
98
Member Avatar for omeja

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) …

Member Avatar for sknake
0
136
Member Avatar for spowel4

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 …

Member Avatar for viljoed
0
260
Member Avatar for kje

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 …

Member Avatar for kje
0
157
Member Avatar for Srcee

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]

Member Avatar for Mitja Bonca
0
2K
Member Avatar for Nareshp_123

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 …

Member Avatar for JerryShaw
0
2K
Member Avatar for santhya.rps1986

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 …

Member Avatar for jfarrugia
0
121
Member Avatar for srirambs7

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 …

0
81
Member Avatar for CSharpUser

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 …

Member Avatar for Trouter
0
2K
Member Avatar for srirambs7

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 = …

0
79
Member Avatar for hery

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

Member Avatar for abelLazm
0
2K
Member Avatar for zachattack05

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 …

Member Avatar for Momerath
0
209
Member Avatar for john_zakaria

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 …

Member Avatar for jonsca
0
111
Member Avatar for rohand

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 …

Member Avatar for vuyiswamb
0
212
Member Avatar for hollystyles

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 …

Member Avatar for AlanJay
0
1K
Member Avatar for pathomporn

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 …

0
55
Member Avatar for rohand

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 …

0
80
Member Avatar for PsychoCoder

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)

0
787
Member Avatar for moist

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 .. …

Member Avatar for Venjense
0
189
Member Avatar for geoNeo_
Member Avatar for geoNeo_
0
100
Member Avatar for Smalls

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 …

0
245
Member Avatar for surajrai

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 …

Member Avatar for sknake
0
407
Member Avatar for adrian_

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 …

0
166
Member Avatar for johnny.g

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 …

Member Avatar for Luc001
0
173
Member Avatar for nwbabu

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.

0
34
Member Avatar for mojtaba1984

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

Member Avatar for udayroy
0
54
Member Avatar for akashnemani

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 …

0
96
Member Avatar for jpcarter1

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 …

Member Avatar for sknake
0
280
Member Avatar for princesspretear

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 …

Member Avatar for sknake
0
594
Member Avatar for rag84dec

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...

Member Avatar for mahela007
0
118
Member Avatar for uint32

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 …

0
56
Member Avatar for nihao
Member Avatar for Shaitan00

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) …

Member Avatar for sknake
0
416
Member Avatar for SusanHAllen

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.

Member Avatar for kvprajapati
0
93
Member Avatar for Shaitan00

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 …

Member Avatar for angilbert
0
235
Member Avatar for jjplaw

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 …

Member Avatar for tux4life
1
190
Member Avatar for iCreator

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 …

Member Avatar for sonia sardana
0
64
Member Avatar for anupjp

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 …

Member Avatar for thewebhostingdi
0
2K
Member Avatar for msk32asu

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 …

0
62
Member Avatar for sravankolla

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 …

Member Avatar for Ramy Mahrous
0
137
Member Avatar for sravankolla

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 …

Member Avatar for Teme64
0
122
Member Avatar for narayanc1

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 …

Member Avatar for narayanc1
0
86
Member Avatar for shinkelwars

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 …

Member Avatar for shinkelwars
0
121

The End.