Delphi Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming Languages - MoreDelphi Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 12th, 2012, 03:28 PM
TRectangle TRectangle is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2012
Posts: 4 TRectangle User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 47 m 4 sec
Reputation Power: 0
Program running in startup of computer

Hi,

I had a programmer develop an application that runs in the background, but it even runs in the background when user restarts computer. I would like to revert this action so if they restart computer the program will not run in the background anymore. Could anyone help me on MSN or Skype? I'd be willing to pay for help from there to there.

Thanks!

Reply With Quote
  #2  
Old October 13th, 2012, 08:36 AM
majlumbo majlumbo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2008
Posts: 251 majlumbo User rank is Lance Corporal (50 - 100 Reputation Level)majlumbo User rank is Lance Corporal (50 - 100 Reputation Level)majlumbo User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 2 Days 22 h 50 m 14 sec
Reputation Power: 5
Quote:
Originally Posted by TRectangle
Hi,

I had a programmer develop an application that runs in the background, but it even runs in the background when user restarts computer. I would like to revert this action so if they restart computer the program will not run in the background anymore. Could anyone help me on MSN or Skype? I'd be willing to pay for help from there to there.

Thanks!


Is the application a Windows Service Application that is set up to automatically start, or is it a Windows program that is started during the boot up process?

If it's the first, then you should be able to right click on Computer Icon on your desktop and select Manage. Computer Management Application will come up. Click on Services and Applications on the left pane. Then select Services (double click) in the right pane. Find your service application in the list and right click on it and select properties.

Change the Startup Type to Manual. Now the user will have to start it manually every time they want the service to run.

If its a regular program, they you have to determine how it's being started, it could be as simple as being placed in the Startup folder, and removing it from there.

Reply With Quote
  #3  
Old October 13th, 2012, 09:03 AM
TRectangle TRectangle is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2012
Posts: 4 TRectangle User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 47 m 4 sec
Reputation Power: 0
Quote:
Originally Posted by majlumbo
Is the application a Windows Service Application that is set up to automatically start, or is it a Windows program that is started during the boot up process?

If it's the first, then you should be able to right click on Computer Icon on your desktop and select Manage. Computer Management Application will come up. Click on Services and Applications on the left pane. Then select Services (double click) in the right pane. Find your service application in the list and right click on it and select properties.

Change the Startup Type to Manual. Now the user will have to start it manually every time they want the service to run.

If its a regular program, they you have to determine how it's being started, it could be as simple as being placed in the Startup folder, and removing it from there.


Hi,

When the user first runs the program it gets created and run from directory C:\Users\Bob\AppData\Roaming

There is a config ini in there along with the application. It has option 1 in config to allow it to run in startup and if I change it to 0 it wont run in startup. The problem is changing the code in source so when program starts up it changes line to 0 so next time they restart the program wont run in background anymore.

Could you help with me this if you got msn of skype please?

Reply With Quote
  #4  
Old October 14th, 2012, 02:47 PM
majlumbo majlumbo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2008
Posts: 251 majlumbo User rank is Lance Corporal (50 - 100 Reputation Level)majlumbo User rank is Lance Corporal (50 - 100 Reputation Level)majlumbo User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 2 Days 22 h 50 m 14 sec
Reputation Power: 5
Sorry, I know I'm still in the stone ages, but I don't have skype or msn.

From your explanation, my understanding is that an application is set up to automatically execute on startup. Depending on the value set within an associated INI file, it either continues to run, or terminates.

You want the user to be able to manipulated the setting within the INI file through some interface within the application itself (i.e. flip the value from 1 to 0 or from 0 to 1).

Also, which version of Delphi is the original application written in? Are there any 3rd party components that the application uses.

Reply With Quote
  #5  
Old October 15th, 2012, 06:06 AM
Luthfi Luthfi is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2012
Posts: 134 Luthfi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 4 h 26 m
Reputation Power: 2
Seems like all you need is to know how to work with INI files. I wrote an article about this. Check it out here: Working with INI Files in Delphi.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreDelphi Programming > Program running in startup of computer

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap