Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB.NET
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 29th, 2003, 02:21 PM
Authorized User
 
Join Date: Jul 2003
Location: , , .
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.

Reply With Quote
  #2 (permalink)  
Old December 29th, 2003, 04:40 PM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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 hugh@kmcnetwork.com VB.NET 12 June 4th, 2004 07:29 AM



All times are GMT -4. The time now is 06:52 PM.


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