473,386 Members | 1,753 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,386 software developers and data experts.

Restarting a program from windows restart

How can I run an application from windows start up without a user having to login to start an application. My biggest problem is that once a week there is a process that runs that restart all the user's PC and the program that I have created has to be running at all times. How can I run the application when windows restarts without the user logging in. I need to beable to run the application without having a scheduling it the schedule tool.
Sep 4 '08 #1
4 1717
jg007
283 100+
Off hand the only way I can think of is by having a service that runs as automatic that starts the programs or converting your program to a service.

I don't really have much experience of this but it looks fairly straight forward , if you know any vb.net look here -

<link deleted>

there are several programs that convert programs to services but please be aware that I have not tried any of these and cannot vouch that they are fully secure or free of malware

from as quick google -

http://www.softplatz.com/software/co...xe-to-service/
Sep 4 '08 #2
Nepomuk
3,112 Expert 2GB
Dear jg007, thank you for wanting to help. However, I had to remove that first link, as it violates the Posting Guidelines, that clearly state:
...
  • Posting links to a forum that is in competition with Bytes.com IT/Developer Network.
...
The second link however (for which I have added the [url] tags - please do that yourself next time) should give the OP a sufficient solution.

Greetings,
Nepomuk (Moderator)
Sep 5 '08 #3
jg007
283 100+
Dear jg007, thank you for wanting to help. However, I had to remove that first link, as it violates the Posting Guidelines, that clearly state:
The second link however (for which I have added the [url] tags - please do that yourself next time) should give the OP a sufficient solution.

Greetings,
Nepomuk (Moderator)
sorry, forgot the tag again <:) also I just tend to have a quick google then if it looks okay code wise post and had not realised that you were in competition with specific forums!
Sep 5 '08 #4
Nepomuk
3,112 Expert 2GB
also I just tend to have a quick google then if it looks okay code wise post and had not realised that you were in competition with specific forums!
Well, bytes.com is a developers network and that link was to the website of a different developers network. So it's not specific forums as such but a specific type of forums that you're not allowed to link to here. What you can do however is post the link to your Google search - that should enable the OP to find the same code you found and won't violate the rules.

Greetings,
Nepomuk
Sep 5 '08 #5

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

Similar topics

7
by: Gene | last post by:
I have a Windows Service (VB.NET) that runs 24/7. It queries a Web service 5 to 10 times per hour. About 2 or 3 times a month, it fails. The log indicates that it sends the request to the Web...
7
by: GTi | last post by:
Does anyone have any good code for a self restarting application? Sometimes I need to exit my application and start it again, what is the best method of doing this in a windows form application....
9
by: woolley.dean | last post by:
The problem we are having is with the worker process restarting after one minute of being started up. We had a website running in .Net 1.1 and switched it over to .Net 2.0. The site is running on...
6
by: sergio.calleja | last post by:
Hi Everybody, i need to restart a windows service made with c# when an fixed event is raised. So to test it, I've added a servicecontroller to my service, and in the creation method, i've created...
4
by: =?Utf-8?B?TWFyaw==?= | last post by:
Hi... Following the samples online, we implemented a windows service in .Net. Like most services, there's a worker thread actually doing stuff in the background. The problem we've run into is...
3
by: gourmet | last post by:
Hello! I need to restart the "Windows Audio Service" (audiosrv) via C#. I'm using the ServiceController Class to do this. It is no problem under XP and no problem under vista if UAC is...
10
by: kyosohma | last post by:
Hi, I packaged up an application I am developing into an executable. In the application, it has user configurable options. I would like a way to restart the application so that the new options...
1
by: Adam Atlas | last post by:
What is the best way for a Python process (presumed to be a script run by the interpreter binary, not embedded in some other program) to restart itself? This is what I've been trying: import...
2
by: crusson | last post by:
I am making a program which opens textfiles, initiates a bunch of variables and opens the file for editing. I want to be able to close one text file and open another with the variables at their...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

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.