Results 1 to 4 of 4

Thread: Setting up a VB program to be a service under NT...

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2000
    Location
    Neenah, WI USA
    Posts
    95
    We are attempting to set up a dedicated server to run miscellaneous VB applications at scheduled times. My boss has asked if it is possible to set up the programs as 'services', started once the system is booted, versus 'applications', run by a logged in user.

    For example: start up the system, and every hour on the hour a file is copied. No one has to be logged in to the server.

    Tried looking through the MSDN help disks for 'services' and didn't find anything that jumped out at me.

    Any help would be greatly appreciated.

    Thanks
    Steve

  2. #2
    Hyperactive Member Al Smith's Avatar
    Join Date
    May 1999
    Location
    Marcellus, MI. USA
    Posts
    330
    Hi,
    I'm using the NT's Scheduled Tasks application to do this. My VB apps are formless EXE's and some run hourly, nightly, weekly, etc.
    Al.
    A computer is a tool, not a toy.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jan 2000
    Location
    Neenah, WI USA
    Posts
    95
    Thanks for the suggestion, Al.
    However, doesn't a user have to be logged in for the NT scheduled Tasks app to run the programs? Or am I mistaken?

    I'll give it a try tonite and see what happens.
    Steve

  4. #4
    Fanatic Member
    Join Date
    Feb 2000
    Location
    Japan
    Posts
    840
    I have an ActiveX control written in VC++ that works great and makes everyting nice and simple for NT services, also exposes events for start/close/pause and continue.

    the zip file is only 200k or so and comes with a demo project.

    Stay away from the srverAny stuff, VERY unstable.

    I made an alarm system with it which outputs web pages every 10 minutes with DB status. it needed to be started and stopped by telnet and come up after a reboot without a user logging on.

    Saved the day for me! email me or write you're email here if you want a copy. (there are no licensing issues with it but you can check the documantation yourself)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width