Click here to Skip to main content
15,907,001 members
Home / Discussions / C#
   

C#

 
QuestionError in WebBrowser Pin
maylels16-Nov-06 6:54
maylels16-Nov-06 6:54 
AnswerRe: Error in WebBrowser Pin
Judah Gabriel Himango16-Nov-06 8:54
sponsorJudah Gabriel Himango16-Nov-06 8:54 
GeneralRe: Error in WebBrowser Pin
maylels16-Nov-06 12:27
maylels16-Nov-06 12:27 
QuestionWhich componenets to register in deployment projects Pin
wasife16-Nov-06 6:41
wasife16-Nov-06 6:41 
QuestionSelect a node in a treeView using Mouse Right Click Pin
h@s@n16-Nov-06 6:23
h@s@n16-Nov-06 6:23 
AnswerRe: Select a node in a treeView using Mouse Right Click Pin
Judah Gabriel Himango16-Nov-06 6:40
sponsorJudah Gabriel Himango16-Nov-06 6:40 
QuestionCOM interop threading problem Pin
Emad Attia16-Nov-06 5:53
Emad Attia16-Nov-06 5:53 
AnswerRe: COM interop threading problem Pin
Judah Gabriel Himango16-Nov-06 6:35
sponsorJudah Gabriel Himango16-Nov-06 6:35 
This really sounds like a problem with the vendor's dll.

Now, aborting threads is generally a bad idea; it's better to manually cancel by building the work to watch for a cancellation flag so that it can do the necessary cleanup. Without cleanup, as you've discovered, code is left in an unpredictable, volatile state.

Emad, what happens if you run the work on a background thread? Then if the user cancels, would it be safe to leave the work running, but the user doesn't see the work running? If that's feasible, that may be your only option outside of having ESRI provide some cancellable work method.



Tech, life, family, faith: Give me a visit.
I'm currently blogging about: God-as-Judge, God-as-Forgiver
The apostle Paul, modernly speaking: Epistles of Paul

Judah Himango


GeneralRe: COM interop threading problem Pin
Emad Attia16-Nov-06 6:55
Emad Attia16-Nov-06 6:55 
QuestionHow to run custom code when List.Add or List.Remove is running Pin
Chris Richner16-Nov-06 5:38
Chris Richner16-Nov-06 5:38 
AnswerRe: How to run custom code when List.Add or List.Remove is running Pin
Judah Gabriel Himango16-Nov-06 6:29
sponsorJudah Gabriel Himango16-Nov-06 6:29 
AnswerRe: How to run custom code when List.Add or List.Remove is running Pin
Daniel Grunwald16-Nov-06 7:43
Daniel Grunwald16-Nov-06 7:43 
AnswerRe: How to run custom code when List.Add or List.Remove is running Pin
Chris Richner16-Nov-06 8:49
Chris Richner16-Nov-06 8:49 
QuestionSending Email Message Pin
zaboboa16-Nov-06 5:33
zaboboa16-Nov-06 5:33 
AnswerRe: Sending Email Message Pin
ednrgc16-Nov-06 6:15
ednrgc16-Nov-06 6:15 
QuestionGetting default namespace name Pin
Zoltan Balazs16-Nov-06 5:08
Zoltan Balazs16-Nov-06 5:08 
AnswerRe: Getting default namespace name Pin
led mike16-Nov-06 5:26
led mike16-Nov-06 5:26 
GeneralRe: Getting default namespace name Pin
Zoltan Balazs16-Nov-06 7:15
Zoltan Balazs16-Nov-06 7:15 
AnswerRe: Getting default namespace name Pin
Daniel Grunwald16-Nov-06 7:44
Daniel Grunwald16-Nov-06 7:44 
GeneralRe: Getting default namespace name Pin
Zoltan Balazs16-Nov-06 8:32
Zoltan Balazs16-Nov-06 8:32 
QuestionPower Notation Pin
demetriou16-Nov-06 5:06
demetriou16-Nov-06 5:06 
AnswerRe: Power Notation Pin
User 665816-Nov-06 6:05
User 665816-Nov-06 6:05 
AnswerRe: Power Notation Pin
ednrgc16-Nov-06 6:28
ednrgc16-Nov-06 6:28 
Questiondataset Pin
fmardani16-Nov-06 4:26
fmardani16-Nov-06 4:26 
AnswerRe: dataset Pin
albCode16-Nov-06 4:32
albCode16-Nov-06 4:32 

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.