•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the C# section within the Software Development category of DaniWeb, a massive community of 428,199 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,170 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C# advertiser: Programming Forums
Views: 1074 | Replies: 11
![]() |
•
•
Join Date: May 2008
Posts: 19
Reputation:
Rep Power: 0
Solved Threads: 0
Hi macu,
I went to the control panel,Admin Tools, Performance. After that i strucked. Where i need to add the new counter and where i need to choose the process.
Regards,
Vijay
I went to the control panel,Admin Tools, Performance. After that i strucked. Where i need to add the new counter and where i need to choose the process.
Regards,
Vijay
•
•
•
•
The code looks fine to me, you're making doubly sure that the thread has been stopped. If you want to check you could go to Control Panel, Admin Tools, Performance. Add a new counter and choose Process, Thread Count and your project. When you run your project you'll see your thread pool thread count, when you click start this will go up by one as you've started a new thread and when you click exit you should see it go back down to where it was before you ran the app. Another test you could do is to write the current time to a file or something in your function and you'll see this stops when you exit.
•
•
Join Date: Apr 2008
Posts: 9
Reputation:
Rep Power: 0
Solved Threads: 0
Select the three default counters from underneath the graph and hit delete on each one to remove them. Click the + on the toolbar and you'll have a new dialog to add other counters. Choose Process in the top dropdown, then select thread count in the left listbox and then look for <your app name>.vshost in the right listbox and select it, then click Add.
![]() |
•
•
•
•
•
•
•
•
DaniWeb C# Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- System.InvalidOperationException (C#)
- exe doesn't work on 2000 but works on XP & 2003 - P9 : system.invalidoperationexcepti (VB.NET)
- System.InvalidOperationException error (VB.NET)
- System.InvalidOperationException ?????? (C#)
- System.InvalidOperationException (VB.NET)
- OleDbConnection (VB.NET)
Other Threads in the C# Forum
- Previous Thread: INSERT,UPDATE on Attached SQL Database File not working
- Next Thread: read data from an c# file into an XML file


Linear Mode