Click here to Skip to main content
15,902,275 members
Home / Discussions / C#
   

C#

 
GeneralRe: Keyboard Keys [KeyChar] list Pin
Rickard Andersson2013-Sep-02 23:39
Rickard Andersson2013-Sep-02 23:39 
GeneralRe: Keyboard Keys [KeyChar] list Pin
leppie14-Sep-02 7:20
leppie14-Sep-02 7:20 
QuestionAny Microsoft Programmer Here?? Pin
Jassim Rahma13-Sep-02 14:50
Jassim Rahma13-Sep-02 14:50 
AnswerRe: Any Microsoft Programmer Here?? Pin
Ray Cassick13-Sep-02 15:34
Ray Cassick13-Sep-02 15:34 
AnswerRe: Any Microsoft Programmer Here?? Pin
Rickard Andersson2013-Sep-02 23:34
Rickard Andersson2013-Sep-02 23:34 
GeneralPerformance Counter Instances Pin
stephen woolhead13-Sep-02 13:01
stephen woolhead13-Sep-02 13:01 
GeneralRe: Performance Counter Instances Pin
David Stone13-Sep-02 14:31
sitebuilderDavid Stone13-Sep-02 14:31 
GeneralRe: Performance Counter Instances Pin
stephen woolhead13-Sep-02 22:53
stephen woolhead13-Sep-02 22:53 
I can get a normal performance counter to work no problem, what I cant get to work is the InstanceName property.

If I try to access one of the existing performance counters that has multible instances that works, but I can not create my own.

Bassically I have this system that can load plug-in modules at run time. I have a custom counter called 'Messages Dispatched' now under that I want to create an instance for each plugin i.e. 'E-Mail', 'SMS' etc, just like under PRocessors you can see an instance of each processor.

The documentation said to pass the instance name in the constructor to ProcessCount but that does not work for me. The app starts and perfmon shows no instances, just the root performance count.

Thanks

Stephen.
QuestionHOW TO: Pass Optional Method Arguments from C# Pin
leppie13-Sep-02 12:52
leppie13-Sep-02 12:52 
AnswerRe: HOW TO: Pass Optional Method Arguments from C# Pin
David Stone13-Sep-02 14:30
sitebuilderDavid Stone13-Sep-02 14:30 
GeneralRe: HOW TO: Pass Optional Method Arguments from C# Pin
Nnamdi Onyeyiri13-Sep-02 23:46
Nnamdi Onyeyiri13-Sep-02 23:46 
GeneralRe: HOW TO: Pass Optional Method Arguments from C# Pin
bfarley15-Sep-02 1:05
bfarley15-Sep-02 1:05 
GeneralRe: HOW TO: Pass Optional Method Arguments from C# Pin
Nnamdi Onyeyiri15-Sep-02 1:38
Nnamdi Onyeyiri15-Sep-02 1:38 
GeneralRe: HOW TO: Pass Optional Method Arguments from C# Pin
James T. Johnson15-Sep-02 1:48
James T. Johnson15-Sep-02 1:48 
GeneralRe: HOW TO: Pass Optional Method Arguments from C# Pin
bfarley15-Sep-02 6:22
bfarley15-Sep-02 6:22 
GeneralMacro to collapse .NET Solution Explorer Tree. Pin
Derek Smigelski13-Sep-02 3:34
Derek Smigelski13-Sep-02 3:34 
GeneralRe: Macro to collapse .NET Solution Explorer Tree. Pin
Not Active13-Sep-02 5:50
mentorNot Active13-Sep-02 5:50 
GeneralRe: Macro to collapse .NET Solution Explorer Tree. Pin
leppie13-Sep-02 7:07
leppie13-Sep-02 7:07 
Generalrelease a dll at runtime. Pin
fftongzhi12-Sep-02 23:30
fftongzhi12-Sep-02 23:30 
GeneralRe: release a dll at runtime. Pin
Eric Gunnerson (msft)13-Sep-02 11:43
Eric Gunnerson (msft)13-Sep-02 11:43 
GeneralRe: release a dll at runtime. Pin
fftongzhi15-Sep-02 18:16
fftongzhi15-Sep-02 18:16 
GeneralRe: release a dll at runtime. Pin
leppie15-Sep-02 21:10
leppie15-Sep-02 21:10 
GeneralRe: release a dll at runtime. Pin
fftongzhi15-Sep-02 22:34
fftongzhi15-Sep-02 22:34 
GeneralRe: release a dll at runtime. Pin
stephen woolhead13-Sep-02 12:12
stephen woolhead13-Sep-02 12:12 
Generali want to execute that line Pin
imran_rafique12-Sep-02 22:26
imran_rafique12-Sep-02 22:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.