Click here to Skip to main content
15,894,955 members
Home / Discussions / C#
   

C#

 
GeneralRe: Infinite Recursion and other odd errors with Network API wrapper Pin
bri189a7-Dec-03 10:33
bri189a7-Dec-03 10:33 
GeneralRe: Infinite Recursion and other odd errors with Network API wrapper Pin
Heath Stewart7-Dec-03 10:41
protectorHeath Stewart7-Dec-03 10:41 
GeneralRe: Infinite Recursion and other odd errors with Network API wrapper Pin
bri189a7-Dec-03 11:08
bri189a7-Dec-03 11:08 
GeneralRe: Infinite Recursion and other odd errors with Network API wrapper Pin
Heath Stewart7-Dec-03 11:12
protectorHeath Stewart7-Dec-03 11:12 
GeneralRe: Infinite Recursion and other odd errors with Network API wrapper Pin
bri189a7-Dec-03 11:46
bri189a7-Dec-03 11:46 
GeneralRe: Infinite Recursion and other odd errors with Network API wrapper Pin
bri189a7-Dec-03 13:10
bri189a7-Dec-03 13:10 
GeneralRe: Infinite Recursion and other odd errors with Network API wrapper Pin
bri189a7-Dec-03 18:30
bri189a7-Dec-03 18:30 
GeneralRe: Infinite Recursion and other odd errors with Network API wrapper Pin
Heath Stewart8-Dec-03 2:13
protectorHeath Stewart8-Dec-03 2:13 
Are you executing this method in a separate thread? If so, you must make all UI updates on the main UI thread. See Control.InvokeRequired and Control.Invoke for more information. Basically, you invoke your method (using a delegate with a matching signature to this.lstViewNetwork.Items.Add(s.Name, 0) and call Control.Invoke on that. This can cause similar problems to what you're seeing if you do add items on a separate thread. This is just the way Windows works (and most other window managers that I'm familiar with).

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Infinite Recursion and other odd errors with Network API wrapper Pin
bri189a8-Dec-03 10:58
bri189a8-Dec-03 10:58 
GeneralDeployment problem with the MS Web Browser Control Pin
Furty6-Dec-03 14:42
Furty6-Dec-03 14:42 
GeneralRe: Deployment problem with the MS Web Browser Control Pin
Heath Stewart7-Dec-03 4:18
protectorHeath Stewart7-Dec-03 4:18 
GeneralRe: Deployment problem with the MS Web Browser Control Pin
Furty8-Dec-03 19:49
Furty8-Dec-03 19:49 
GeneralRe: Deployment problem with the MS Web Browser Control Pin
Heath Stewart9-Dec-03 2:37
protectorHeath Stewart9-Dec-03 2:37 
GeneralRe: Deployment problem with the MS Web Browser Control Pin
Furty9-Dec-03 11:43
Furty9-Dec-03 11:43 
GeneralException in File explore Pin
naxos6-Dec-03 13:24
naxos6-Dec-03 13:24 
GeneralRe: Exception in File explore Pin
leppie6-Dec-03 22:15
leppie6-Dec-03 22:15 
GeneralApplication in Batch Mode with user interface Pin
Patrick Luijpers6-Dec-03 12:26
Patrick Luijpers6-Dec-03 12:26 
GeneralRe: Application in Batch Mode with user interface Pin
leppie6-Dec-03 22:16
leppie6-Dec-03 22:16 
GeneralRe: Application in Batch Mode with user interface Pin
Patrick Luijpers7-Dec-03 5:17
Patrick Luijpers7-Dec-03 5:17 
GeneralRe: Application in Batch Mode with user interface Pin
leppie7-Dec-03 5:25
leppie7-Dec-03 5:25 
QuestionSome nodes in TreeView with checkboxes and some others without. Is it possible? Pin
TomaHawKPT6-Dec-03 12:18
TomaHawKPT6-Dec-03 12:18 
AnswerRe: Some nodes in TreeView with checkboxes and some others without. Is it possible? Pin
Heath Stewart7-Dec-03 4:13
protectorHeath Stewart7-Dec-03 4:13 
QuestionWhat causes the close button to stop working? Pin
vektuz5-Dec-03 23:04
vektuz5-Dec-03 23:04 
AnswerRe: What causes the close button to stop working? Pin
vektuz5-Dec-03 23:25
vektuz5-Dec-03 23:25 
GeneralRe: What causes the close button to stop working? Pin
Heath Stewart6-Dec-03 5:12
protectorHeath Stewart6-Dec-03 5:12 

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.