Wrox Programmer Forums
|
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 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 September 1st, 2004, 05:27 AM
Registered User
 
Join Date: Sep 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default NT Service

Hi,

I have an application that running as a Windows service on a W2K server machine. About 2 or 3 hours left, the service begin to take, progressively, more and more CPU time until 99%. I've checked if something in my code could be responsible of this but nothing seems to be convincing (it is a very basic code).
Any ideas?
Thanks

David Hoareau
 
Old September 1st, 2004, 12:02 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

very tight loop?
Marco
 
Old September 1st, 2004, 01:28 PM
Friend of Wrox
 
Join Date: Aug 2003
Posts: 205
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Have you put in any DoEvents? You have to do that or put the timer to sleep every so often. Otherwise, it will loop so fast that it will monopolize the CPU.





Similar Threads
Thread Thread Starter Forum Replies Last Post
failed for user 'NT AUTHORITY\NETWORK SERVICE' GS ASP.NET 2.0 Professional 5 March 26th, 2007 05:16 AM
user 'NT AUTHORITY\NETWORK SERVICE' GS ASP.NET 2.0 Basics 0 March 25th, 2007 10:58 AM
The current identity (NT AUTHORITY\NETWORK SERVICE babakwx ASP.NET 2.0 Professional 1 May 20th, 2006 10:18 PM
Login failed for user 'NT INSTANS\NETWORK SERVICE' keysersoze BOOK: ASP.NET Website Programming Problem-Design-Solution 3 April 6th, 2005 01:25 PM
Windows NT service and Icon in the System Tray Dmitriy Pro VB 6 4 August 27th, 2003 01:23 PM





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