[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 180
  • Last Modified:

Need some input...

I am just moving from web application development using ASP.Net and VB.Net and am not moving onto Windows Application Development using Visual Studio 2005 and VB.Net...

I am a systems administrator with programming being my first love... I want to develop a few applications to make my job a little easier. What i want to know if any of this is possible as i only have experience with web development...

I want to develop a app that can do the following. Restart a windows server machine at a schedualed time, read the event logs on that server and possibly email out notifications.

I guess what my question here is: is it possible to control functions on a windows server OS, like shutdowns, and reading things like the event logs etc...

Nugs
0
Nugs
Asked:
Nugs
  • 3
  • 2
1 Solution
 
MageDribbleCommented:
yes, i'd recommend creating a windows service.  it'll run in the background and you can code it to do what you want.  a service is also easier to start/stop for an admin (imo)
0
 
NugsAuthor Commented:
Any resource websites on this that i can do some reading off of?!
0
 
MageDribbleCommented:
you can google VB.NET Windows Service and get a ton of results.  Here are a few I used...

http://www.devcity.net/Articles/190/1/article.aspx
http://abstractvb.com/code.asp?A=1082
http://www.freevbcode.com/ShowCode.Asp?ID=3242

This is C# but the concept is the same
http://www.codeproject.com/dotnet/simplewindowsservice.asp
0
 
NugsAuthor Commented:
Cool, that is a good start, thanks...
0
 
MageDribbleCommented:
thanks for the points and good luck with your project.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now