|
Where should the exception be thrown - in some places and under certain circumstances exceptions get swallowed! E.g. in a Form Load or Shown event when the application is executed from Visual Studio; or possibly also on Win7 64 bit machines with those events.
|
|
|
|
|
From what I have tracked down, the exception doesn't occur because the 'old' file is actually being served up. It seems that the BranchCache service is being over kind to us and even ignoring the noCacheNoStore request. I shall confirm or otherwise on Tuesday when I'm back at work.
Happy programming!!
|
|
|
|
|
I think your only recourse is to run it under the debugger and investigate every variable and condition (in the appropriate block of code) until you find the problem.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997
|
|
|
|
|
Did you mean to specify BypassCache instead of NoCacheNoStore ? That's what I use to achieve a similar result and it works fine.
/ravi
|
|
|
|
|
Can you help me about problem delete multiline on listview
Thank you!
modified on Friday, April 8, 2011 6:36 AM
|
|
|
|
|
Possibly. It depends what the problem is.
|
|
|
|
|
Oh dear God! Do questions like this still exist!
|
|
|
|
|
They do indeed. How are you doing mate?
|
|
|
|
|
|
I'm not bad. I'm doing a fair bit of travelling up to Glasgow now, so may be able to make a DDD talk or two in Scotland.
|
|
|
|
|
I'm not allowed to discuss VB.Net in this forum.
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
|
|
|
|
|
Loop through the selected items and remove them.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
If this was posted in the correct forum, yes, we could.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997
|
|
|
|
|
Yes.
It is quite simple really.
What you need to do is explain what the problem is and provide some code.
Then explain what you have attempted and where you think the problem is.
I think this is better than the altenative method, teaching everybody else to read your mind!
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
Trolls[ ^]
|
|
|
|
|
|
fififlowertot wrote: Hi , I needed to verify that the last 4 digits in a number are 0000. The
number was of format 999999-0000 so i checked with a regular expression
@"\d-\(0){4}" but now the '-' will not be there and it always just a number
with last 4 digits as 0 i.e 0000 I am unable to think of a regular expression
to validate this string. any help will be greatly appreciated.
This should have been asked in the Regular Expression forum. However, seeing that the question is here now, and seeing that I'm in a good mood, the regex for this is:
^(\d*(0){4}) [Edited to add deleted question in]
I'm not a stalker, I just know things. Oh by the way, you're out of milk. Forgive your enemies - it messes with their heads
My blog | My articles | MoXAML PowerToys | Onyx
modified on Thursday, April 7, 2011 12:33 PM
|
|
|
|
|
yeah i was just deleting this when the mail of a reply came in inbox. thanx.
|
|
|
|
|
|
Don't delete your posts!
0) There is a Regular Expression forum.
1) Have you tried Expresso?
2) Have you tried <a href="http://www.codeproject.com/KB/string/RegexTester_.aspx">this</a>[<a href="http://www.codeproject.com/KB/string/RegexTester_.aspx" target="_blank" title="New Window">^</a>]?
I don't know why you would want to be capturing the zeroes if you just want to do validation.
Did you intend to escape the hyphen (-) rather than the left-parenthesis (() ?
|
|
|
|
|
PIEBALDconsult wrote: Don't delete your posts!
Unless of course you've come to realize that what you typed makes you look like a complete tool.
There are exceptions to every rule.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997
|
|
|
|
|
Is this what's meant by a regular expression tool?
|
|
|
|
|
|
Dalek Dave's a tool? You could well be right.
|
|
|
|
|
No, not even then.
And, no there are not.
|
|
|
|
|
Pete O'Hanlon wrote: the regex for this is:
^(\d*(0){4})
Send this in to Alex Trebeck for use on Jeopardy, and we'll all guess what the question was.
"I'll take code fragments for a thousand, Alex."
|
|
|
|