Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB.NET
|
VB.NET General VB.NET discussions for issues that don't fall into other VB.NET forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 29th, 2003, 02:21 PM
Authorized User
 
Join Date: Jul 2003
Posts: 98
Thanks: 0
Thanked 0 Times in 0 Posts
Default File System Watcher - Part 2

Hello Everyone and thanks for your help in advance. Imar solved my previous problem on the related post, but I have run into a related, but separate problem. Obviously, the program I developed was to monitor the status of certain files and folder using the FilesystemWatcher. I pushed the exe file to my production server. It works fine when I am logged on. However, when I log off, the program stops. Obviously, Ineed the program to monitor all of the time. How do I get the program to continue while logged off? Any help would be greatly appreciated. Thanks.

 
Old December 29th, 2003, 04:40 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi Hugh,

Me again ;)
I think you'll need to implement this application as a service. A service will / can run under a specific user account, without someone being logged on to the box.

Visual Studio .NET provides the Windows Service project. Haven't used it much, but what I recall from an initial demo and walk through, it's a lot easier to use and deploy than it was with VB 6,

If you have VS.NET installed, check here for the Overview of services in .NET.

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Run bat file as part of Setup project adorable.ashish General .NET 0 March 5th, 2008 07:42 AM
Problem in reading some part of a file denzil_cactus Perl 1 June 29th, 2007 09:29 AM
Can anybody help me in the system watcher project embursts VB.NET 0 January 29th, 2006 05:15 AM
File watcher with Windows service GregF VB.NET 1 February 1st, 2005 09:39 AM
File System Watcher [email protected] VB.NET 12 June 4th, 2004 07:29 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.