| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | Newsletters | VB Forums | Developer.com |
|
|||||||
| Visual Basic .NET Microsoft Visual Basic .NET and related questions. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Want my Console program to run as a service
Hello i'm working on a project that simply changes the wallpaper periodically...it works fine...I created two seperate projects...1) a forms application 2) console application........The forms application gets the data and settings from the user....the console application reads the data and settings from text files created in the forms application and does the job of changing the wall paper...i've got mine set to change every minute...I realy want to get this finished, but am stumped by a few things....
1) how can i get my console application to run as a windows service..have tried the SC Create command..no good..... 2)how can i get it so the console program runs as an icon on the system tray near the clock......... 3)When i want to publish to create the setup.exe...should i somehow merge the two projects together or publish each one seperatly and use some sort of batch installer..... I've never done any windows programming b4..but am catching on..any help would be appreciated.. |
|
#2
|
|||
|
|||
|
Re: Want my Console program to run as a service
You need to create a windows service project.
have a look at this http://www.codeguru.com/vb/gen/vb_sy...icle.php/c4825 |
|
#3
|
|||
|
|||
|
Re: Want my Console program to run as a service
Hello, thanks for the reply..I have Visual Basic express edition ..the free one...It doesn't have a Windows Service Template...but fingers x'd i think i've found one i've downloaded...will Give it a Try...thanks.
|
|
#4
|
||||
|
||||
|
Re: Want my Console program to run as a service
You can try the full Visual Studio trial version. It will have what you need.
__________________
Use [code]your code here[/code] tags when you post source code Search here before you post your question, someone might have already asked it before. My Articles |
![]() |
| Bookmarks |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|