|
you didn't read the full thread... the message before the one you replied states that the timer class catches the exceptions, and that is documented:
Quote: In the .NET Framework version 2.0 and earlier, the Timer component catches and suppresses all exceptions thrown by event handlers for the Elapsed event. This behavior is subject to change in future releases of the .NET Framework.
MSDN link: http://msdn.microsoft.com/pt-BR/library/system.timers.timer%28v=vs.110%29.aspx[^]
|
|
|
|
|
Ah you are right - sorry for overseeing your first post - So Forget my post.
But at least I knew about this and that it's documented - thank you anyway for clarification
|
|
|
|
|
Sentenryu wrote: I guess the designers decided that it was better to not let the application die
due to a simple timed event (that would likely execute again)
Let the developer decide what to do; it's not your job.
This space intentionally left blank.
|
|
|
|
|
PIEBALDconsult wrote: it's not your job.
Apparently, they disagree 
|
|
|
|
|
<mumbling>Self-righteous b-tards...</mumbling>
This space intentionally left blank.
|
|
|
|
|
Nice to see that the license manager on VS 2013 lives up to expectations. I regularly get the following error when firing up Visual Studio
This license will expire in 2147483647 days.
Your license has gone stale and must be updated.
Ah good, so it isn't expiring anytime soon then
Clicking the "Check for an updated license" clears it for another month (or however long it is until it reappears again).
Think they forgot to do some testing around that feature...
|
|
|
|
|
|
That's because you are not logged in to your MSDN account... (top-right corner under the title bar).
The funny thing that we have a corporate license - so we all logged in with the same user...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
I know that.
However the scenario should be better handled, I therefore class this as a bug. (Definitely not a feature!)
|
|
|
|
|
Be careful! They will fix it to -1!!!
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
2147483647, thats 2 ^ (32-1) -1, I wonder what the significance of that is!
|
|
|
|
|
Keith Barrow wrote: What are the chances of that!!!! A lot!!![^]
|
|
|
|
|
There may have been a small amount of sarcasm in that statement.
Source: I'm British.
|
|
|
|
|
Keith Barrow wrote: There may have been a small amount of sarcasm in that statement.
If that is the case, then I must be the first person to witness sarchasm[^] with my own sarcasm 
|
|
|
|
|
int daysToExpire = Int32.MaxValue;
try {
DateTime expiryDate = GetExpiryDate();
daysToExpire = expiryDate - DateTime.Today;
}
catch {
}
MessageBox.Show(string.Format("This license will expire in {0} days.", daysToExpire));
|
|
|
|
|
Use your MSDN account to get a product code, enter that instead of renewing the license. End of problem.
We can program with only 1's, but if all you've got are zeros, you've got nothing.
|
|
|
|
|
|
Just received this from our IT support:
Quote: Rob keeps loosing connection to the exchange server.
I can run a continuous ping to this server whilst this is happening so therefore I wish to run an Office repair.
I have lost connection - Rob please reboot and call me when you have a moment, thanks,
Phil.
Because the best way to contact someone without email is to, um, send them an email!
(I'd fixed the problem myself by this time).
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
Working overtime one weekend my team leader needed to access information on another team member's email account while he was on holiday. She had his password changed so she coukld get into his mail, then sent him an email with the new password!
=========================================================
I'm an optoholic - my glass is always half full of vodka.
=========================================================
|
|
|
|
|
pure genius. I wonder how she got to be your boss
Microsoft ... the only place where VARIANT_TRUE != true
|
|
|
|
|
That's why she's a boss. To keep her away from serious business 
|
|
|
|
|
|
I think you aren't familiar with IT bosses 
|
|
|
|
|
Watch out you're next for management.
Peter Wasser
Art is making something out of nothing and selling it.
Frank Zappa
|
|
|
|
|
I will gladly deny. I am not that kind of person to lead others. I prefer solitary work.
Microsoft ... the only place where VARIANT_TRUE != true
|
|
|
|