Click here to Skip to main content
15,914,289 members
Home / Discussions / C#
   

C#

 
AnswerRe: Intercepting and blocking Webpages Pin
J4amieC11-Jul-06 2:54
J4amieC11-Jul-06 2:54 
GeneralRe: Intercepting and blocking Webpages Pin
CJayMeister11-Jul-06 3:09
CJayMeister11-Jul-06 3:09 
GeneralRe: Intercepting and blocking Webpages Pin
Eran Aharonovich11-Jul-06 4:44
Eran Aharonovich11-Jul-06 4:44 
AnswerRe: Intercepting and blocking Webpages Pin
led mike11-Jul-06 5:22
led mike11-Jul-06 5:22 
AnswerCreate a proxy Pin
Ennis Ray Lynch, Jr.11-Jul-06 9:51
Ennis Ray Lynch, Jr.11-Jul-06 9:51 
AnswerProxy server Pin
Daniel Turini11-Jul-06 9:51
Daniel Turini11-Jul-06 9:51 
Questionlock() and Thread.Interrupt() Pin
Jon Hulatt11-Jul-06 0:37
Jon Hulatt11-Jul-06 0:37 
AnswerRe: lock() and Thread.Interrupt() [modified] Pin
Guffa11-Jul-06 1:01
Guffa11-Jul-06 1:01 
You get the exception because you are trying to interrupt the thread while it's not sleeping. If you want to handle that, you will have to catch the exception while the thread is working too.

-- modified at 7:02 Tuesday 11th July, 2006

On second thought, that could be a bit messy. A better way would be to add a flag to the class that you set while the thread goes into sleep mode, and a property that returns the flag so that you can use it to determine if the thread is sleeping or not, so that you don't interrupt it while it's not sleeping.

---
b { font-weight: normal; }

GeneralRe: lock() and Thread.Interrupt() Pin
Jon Hulatt11-Jul-06 3:11
Jon Hulatt11-Jul-06 3:11 
AnswerRe: lock() and Thread.Interrupt() Pin
Aaron Dilliard11-Jul-06 4:02
Aaron Dilliard11-Jul-06 4:02 
AnswerRe: lock() and Thread.Interrupt() Pin
Judah Gabriel Himango11-Jul-06 4:48
sponsorJudah Gabriel Himango11-Jul-06 4:48 
AnswerRe: lock() and Thread.Interrupt() Pin
led mike11-Jul-06 5:12
led mike11-Jul-06 5:12 
QuestionQuestion about subtract Time in c# ( IDE 2005 ) Pin
Yanshof11-Jul-06 0:10
Yanshof11-Jul-06 0:10 
AnswerRe: Question about subtract Time in c# ( IDE 2005 ) Pin
Shajeel11-Jul-06 0:28
Shajeel11-Jul-06 0:28 
GeneralIts not working .Someone can help please ? Pin
Yanshof11-Jul-06 1:06
Yanshof11-Jul-06 1:06 
GeneralRe: Its not working .Someone can help please ? Pin
Christian Graus11-Jul-06 1:16
protectorChristian Graus11-Jul-06 1:16 
GeneralRe: Its not working .Someone can help please ? Pin
Sebastian Schneider11-Jul-06 1:27
Sebastian Schneider11-Jul-06 1:27 
GeneralRe: Its not working .Someone can help please ? Pin
Yanshof11-Jul-06 1:35
Yanshof11-Jul-06 1:35 
GeneralRe: Its not working .Someone can help please ? [modified] Pin
Shajeel11-Jul-06 1:42
Shajeel11-Jul-06 1:42 
GeneralRe: Its not working .Someone can help please ? Pin
J4amieC11-Jul-06 1:59
J4amieC11-Jul-06 1:59 
QuestionMono Pin
mehrdadc4811-Jul-06 0:08
mehrdadc4811-Jul-06 0:08 
AnswerRe: Mono Pin
Sebastian Schneider11-Jul-06 1:15
Sebastian Schneider11-Jul-06 1:15 
AnswerRe: Mono Pin
User 665811-Jul-06 4:37
User 665811-Jul-06 4:37 
GeneralRe: Mono Pin
User 171649211-Jul-06 5:30
professionalUser 171649211-Jul-06 5:30 
Questionadding custom menu items to axwebbrouser Context menu [modified] Pin
hari.la10-Jul-06 23:56
hari.la10-Jul-06 23:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.