473,323 Members | 1,550 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,323 software developers and data experts.

Run exe in background / as service

Shashi Sadasivan
1,435 Expert 1GB
Hello,
I have an executable supplied which has to be running always.
It's a script which notifies a server of my IP address.

My OS is Vista Business.

As soon as I run the command from the command prompt, it stays there within the program waiting for 10 minutes to pass by and iterate its code again.

Is it possible to run it as a background service?
Nov 20 '07 #1
4 6634
epots9
1,351 Expert 1GB
i'm going to say yes, but it has to run with admin rights...i know your account is an admin but vista doesn't care. thats why to install some programs you have to right click the exe and click run as admin.
Nov 20 '07 #2
Shashi Sadasivan
1,435 Expert 1GB
i'm going to say yes, but it has to run with admin rights...i know your account is an admin but vista doesn't care. thats why to install some programs you have to right click the exe and click run as admin.
Hi epots9
Well... I can run the exe by clicking it, but it needs an argument to be supplied with it.
So either I create a bat file which does it, or run it from the command prompt.
The thing I want to avoid is the command prompt is displayed continously until the exe is aborted!

If this is the case, I might have to create this whole thing as a .Net application and then use it. which I am willing to sometime
Nov 20 '07 #3
Killer42
8,435 Expert 8TB
Forgive an old XP user, but why not just hit Alt-Tab?
Nov 21 '07 #4
Shashi Sadasivan
1,435 Expert 1GB
Forgive an old XP user, but why not just hit Alt-Tab?
Well, currently i have it running, with the command prompt wimdow open all the time while i have it running.
unless i create a bat file and add it to the scheduler, and run the bat file after the interval definined by me rather than the interval in the config file

the config file has an interval for it to sleep.

Exploring all ways, before i loose it and start figuring how to make my own service with .net
Nov 21 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Alan Walkington | last post by:
Folks: How can I get an /exec'ed/ process to run in the background on an XP box? I have a monitor-like process which I am starting as 'exec("something.exe");' and, of course the exec function...
3
by: Greg Bryant | last post by:
I'm doing some work for a company that has an auction site running in coldfusion. They're not real happy with it, and it needs a major overhaul, so I'm looking at redoing it, and while I'm at it,...
4
by: pokémon | last post by:
Ok, I want to implmement a "backgound process", but the catch is this: I want to control it via a Web Service, that is to say, the Web Service will be its API. What type of application should...
0
by: Marian Dvorsky | last post by:
I would like to create an application that will be running in the background and will have an icon in the Notify bar in the lower-right corner of Windows desktop. For Windows NT+ I will probably...
1
by: Ed | last post by:
Is there a way to run an application in the background other than through a service. As I understand it when creating a service it is best practice not have any kind of user interface. My...
4
by: Tim | last post by:
I need to create a C# service that will run a stored procedure which returns a result set. From there I need to create a file using the result set in a specific format. The format could be fixed...
4
by: Mrinal Kamboj | last post by:
Hi , Doubt may be bit trivial , but i wanted to know , what are the exact benefits derived while we run a background process as an NT service in windows , we can as well achieve the...
3
by: Carl Johansen | last post by:
I'm not sure of the best way to do what I want. Users of my website want to run reports that take a long time to generate. This is what I would like to happen: 1. User requests aspx page 2....
0
by: JC Voon | last post by:
Hi All: I'm new in Threading and Web Services, can someone please verify my code, i'm not sure whether this is the correct way, althought it is partially work, but some time it will raise...
3
by: Asus | last post by:
Hello, I'm new to Web Services. I'm trying to develop a Web Service that retrieves some data out of a database and sends them to the client as a DataSet when a method is invoked. My question...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.