> I was trying to make a quick 5 minute app to remind me to do something
> before leaving work - just have the dialog appear which showed in the
> quicklaunch bar.
>
> The application hung (which was unfortunate as I had set it as a startup
> and had some difficulty deleting the link with the CPU at 100%)
Instead of "p.AddDays(1)", try "p = p.AddDays(1)".
Also, next time you've got a process hogging the CPU, a fast way to get
control back is to bring up the Task Manager (Ctrl-Shift-Esc) and
right-click on the process so that you can lower the priority and/or kill
the process. Task Manager is reasonably lightweight and you can often
control the process externally faster than you can get the process itself
to respond (especially if your process is stuck in a loop preventing it
from actually processing any events :) ).
Pete
Luc The Perverse - 05 Jan 2008 05:40 GMT
>> I was trying to make a quick 5 minute app to remind me to do something
>> before leaving work - just have the dialog appear which showed in the
[quoted text clipped - 4 lines]
>
> Instead of "p.AddDays(1)", try "p = p.AddDays(1)".
LOL. Why - in retrospect, I suppose that does make a little sense :)
> Also, next time you've got a process hogging the CPU, a fast way to get
> control back is to bring up the Task Manager (Ctrl-Shift-Esc) and
[quoted text clipped - 3 lines]
> itself to respond (especially if your process is stuck in a loop
> preventing it from actually processing any events :) ).
Hmmm - COOL. I haven't known how to get to it directly since I switched
to XP Pro - I was so used to pushing Ctrl Alt Delete and then clicking
task manager (or whatever it is.)
Thank you very much sir!
--
LTP
:)