468,140 Members | 1,454 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,140 developers. It's quick & easy.

MachineName property of the performance counter issue

Hi,
I'm playing windows service using vb.net. I added a performance counter to my windows service, but I couldn't set MachineName property of the performance counter to blank. After I set it to empty, whenever the focus leave it, pop up error message.
In Chapter 2 lesson 3 of Developing XML Web Services and Server Components with Microsoft Visual Basic.NET and Microsoft VIsual C#.net book, there is a note saying "By default the designer also adds the MachineName property, which specifies the machine name where the counter is installed. To make the installation of the performance counter machine-independent, you can set the MachineName property of the performance counter to blank in the Properties window. When you set the MachineName property of the performance counter to blank, the designer does not add the code to set the MachineName property".
Any idea?

Thanks

william

Jul 21 '05 #1
0 1353

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by James | last post: by
17 posts views Thread by 57R4N63R | last post: by
reply views Thread by Anthony Nystrom | last post: by
30 posts views Thread by galiorenye | last post: by
reply views Thread by Dev - | last post: by
27 posts views Thread by didacticone | last post: by
1 post views Thread by gcdp | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.