|
painless wrote:
If you are behind a router, this tool is useless, because it can not
differentiate between internal and external traffic.
I am behind a router, but I am the only one I'm purely just get numbers from a performance counter (DUMeter probably the same). What you asking is to implement packet sniffing which beyond the scope of this little util Look at the .NET winpcap wrapper and try to implement it yourself perhaps You can use my GUI with pleasure.
CHeers
<a TITLE="See my user info" href=http:
|
|
|
|
|
Nice utility.
If you select to hide text, then place mouse over main window, or just click and hold mouse button on main window, text displays. Erh, maybe it's intentional? But I want to get rid of text at all times...
If you resize main window to original height, but width of 1280 screen or something big, text size goes too big.
|
|
|
|
|
Peter SJöström wrote:
Erh, maybe it's intentional? But I want to get rid of text at all times...
It is intentional Just change the code.
Peter SJöström wrote:
If you resize main window to original height, but width of 1280 screen or something big, text size goes too big.
I dont bother to check the height, hence the "effect". I'll try and fix it sometime along with the "ultra small size" bug, and some other ones. Currently I'm a bit swamped.
Cheers
MyDUMeter: a .NET DUMeter clone "Thats like saying "hahahaha he doesnt know the difference between a cyberneticradioactivenuclothermolopticdimswitch and a biocontainingspherogramotron", but with words you have really never heard of."
|
|
|
|
|
I was just playing with your app, when I trying to customize the UI I got this exception.
Steps to reproduce it:
1. Run the app
2. Double click on the window to make the border visible.
3. Now resize the window by verically, make the lower border go up.
4. Double click on the window, to make it border-less.
5. Double click again on the window...Exception....
UI customization suggestion: Why don't you resrict the app to fixed minimum width and height?
Exception details:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentException: Invalid parameter used.
at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
at System.Drawing.Bitmap..ctor(Int32 width, Int32 height)
at System.Drawing.Bitmap..ctor(Image original, Int32 width, Int32 height)
at MyDUMeter.MainForm.pictureBox1_Resize(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnResize(EventArgs e)
at System.Windows.Forms.PictureBox.OnResize(EventArgs e)
at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
at System.Windows.Forms.Control.UpdateBounds()
at System.Windows.Forms.Control.WmWindowPosChanged(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Follow live World Cup Cricket scores here[^]
|
|
|
|
|
I havent forgotten about this. On the imaginary fixlist.
MyDUMeter: a .NET DUMeter clone "Thats like saying "hahahaha he doesnt know the difference between a cyberneticradioactivenuclothermolopticdimswitch and a biocontainingspherogramotron", but with words you have really never heard of."
|
|
|
|
|
|
mordejai wrote:
Why don't you make it an Explorer Band?
Neat idea I was wondering what I could do to test Explorer/ Internet Explorer bands. I'll try something over the weekend.
Cheers
MyDUMeter: a .NET DUMeter clone "Thats like saying "hahahaha he doesnt know the difference between a cyberneticradioactivenuclothermolopticdimswitch and a biocontainingspherogramotron", but with words you have really never heard of."
|
|
|
|
|
mordejai wrote:
I was planning to do it myself, but I'm out of time
About 60 mintues and I have it going Now to change the behaviours for it
MyDUMeter: a .NET DUMeter clone "Thats like saying "hahahaha he doesnt know the difference between a cyberneticradioactivenuclothermolopticdimswitch and a biocontainingspherogramotron", but with words you have really never heard of."
|
|
|
|
|
It appears the BandObject lib is a bit flaky. Occasion causing WinXP to show the shutdown dialog . Also it appears to work randomly. Maybe i'm missing something?
MyDUMeter: a .NET DUMeter clone "Thats like saying "hahahaha he doesnt know the difference between a cyberneticradioactivenuclothermolopticdimswitch and a biocontainingspherogramotron", but with words you have really never heard of."
|
|
|
|
|
Hi,
Nice work, but one oddity is showing up here. I'm on an NT Domain at work and the dropdown list in the Options dialog for "MachineName" seems to be showing mostly blanks. There are a couple of enrties, but I think they are for machines that aren't members of the domain.
This means that I can't select my own machine from the list! It works if I don't touch the setting, though (i.e. leave it as ".")
James
|
|
|
|
|
Swythan wrote:
I'm on an NT Domain at work and the dropdown list in the Options dialog for "MachineName" seems to be showing mostly blanks. There are a couple of enrties, but I think they are for machines that aren't members of the domain.
Argg, no way for me to test it . That code (for the machine name) was even tested with some people I chat to on the internet. Unfortunately, I will not be able to ever (in the near future anyways) test this. All I can hope is some CPian mite do me a favour....
Anyways I will have a look, I limited the list to 20 entries and I dont think I'm checking for "" blanks . I will add some stuff, and mail u a copy. Perhaps we can make it work
Cheers
MyDUMeter: a .NET DUMeter clone "Thats like saying "hahahaha he doesnt know the difference between a cyberneticradioactivenuclothermolopticdimswitch and a biocontainingspherogramotron", but with words you have really never heard of."
|
|
|
|
|
Hi,
I was looking on that thread (and many others!) while back from travel. Looks like (at least a little...) a bit as a Unicode thing...
Regards...
Eric
|
|
|
|
|
Same problem here, 4 names show up, but more blanks. I can select Interface after a few restarts and leave machine name blank.
|
|
|
|
|
It works for me, I am on a 2003 domain running it on an XP Pro SP1 all updates box and it shows both the server and my desktop (only 2 computers on the network)
btw, this is pretty cool!!!
Matt Newman
If you chose to continue this discussion, I am fully prepared to make you my bitch. I invite you to ask around, and you'll find out that I'm quite capable of doing so - John Simmons on Trolls
|
|
|
|
|
Very good one. *thumbs up*
I have a small suggestion though.
1. Delete the MyDUMeter.config first and run the app.
2. It brings up the Options Dialog
3. Don't select any item from "Interface" combo.
4. Now try to close the options dialog by clicking X, it will bring the Options Dialog again.
Instead of doing that, display a message box with message like this "Interface is missing" (something like that)
I know you mentioned about it in the article, somehow I missed it.
When I ran the app first time I tried to couple of times closing the options dialog, but it kept on displaying the same dialog. Then I killed the app and read your article again. Then I read your comments "When running MyDUMeter for the first time the option dialog should popup that allows you to select you interface."
Follow live World Cup Cricket scores here[^]
|
|
|
|
|
Kant wrote:
Instead of doing that, display a message box with message like this "Interface is missing" (something like that)
Done Will now display "User Error"
Kant wrote:
Follow live World Cup Cricket scores here[^]
static DateTime last;
private string[] GetScores()
{
if ((DateTime.Now - last).TotalMinutes >= 1)
{
last = DateTime.Now;
WebClient wc = new WebClient();
Stream str = wc.OpenRead(@"http://www-rsa.cricket.org/link_to_database/NEW/LIVE/scores.html");
string html = "";
int read = 512;
byte[] buf = new Byte[read];
do
{
read = str.Read(buf, 0, read);
html += System.Text.Encoding.Default.GetString(buf, 0, read);
}
while (read > 0);
str.Close();
wc.Dispose();
string[] lines = html.Split('>','<','\n');
scorestore = new string[]{lines[207].Replace("\t"," "), lines[224],
lines[227].Replace("\t"," "),
lines[228].Replace("\t"," "),
lines[229].Replace("\t"," "),
lines[230].Replace("\t"," ")};
}
return scorestore;
} What I have for my IRC bot
MyDUMeter: a .NET DUMeter clone
|
|
|
|
|
|
Kant wrote:
Care to explain bit more about your IRC Cricket bot?
The IRC is just a plain commandline app based on the Thresher IRC library. I have adapted it a bit, and made a plugin system for it (see my Plugin Manager article). So now if some one "shouts" (says) "score" in a line , my bot just sends each line from the array returned from that function into the channel it was said in.
Basically the function just rips the neccessary parts from a rather static webpage. O and it checks at most most every minute (the HTML page only updates every 60 seconds). I know it rough and will probably fail to work, but it DOES still work Ahh you just gave me a great idea Realtime crickets scores as a explorer band. Hmm. Coming soon.
MyDUMeter: a .NET DUMeter clone "Thats like saying "hahahaha he doesnt know the difference between a cyberneticradioactivenuclothermolopticdimswitch and a biocontainingspherogramotron", but with words you have really never heard of."
|
|
|
|
|
leppie wrote:
O and it checks at most most every minute (the HTML page only updates every 60 seconds).
leppie wrote:
I know it rough and will probably fail to work, but it DOES still work Ahh you just gave me a great idea Realtime crickets scores as a explorer band
I can't wait.
Hope you can do it before the Worldcup Cricket is over.
Follow live World Cup Cricket scores here[^]
|
|
|
|
|
...any suggestions?
|
|
|
|
|
|
http://pepper.idge.net/netload-1.0.zip is almost same thing as this program without the extra logging features, and its in C++ ~
Of course it isnt nearly as configurable as MyDuMeter, but the source is there, feel free to hack on it.
|
|
|
|
|
Sweet I'll have a look since I'm starting to wonder into that land.
I rated this article 2 by mistake. It deserves more. I wanted to get to the second page... - vjedlicka 3:33 25 Nov '02
|
|
|
|
|
|