Click here to Skip to main content
15,901,853 members
Home / Discussions / C#
   

C#

 
GeneralRe: Visual Studio AddIn problem - adding a sub-menu to the Edit menu Pin
Chris Morrison7-Dec-03 5:04
Chris Morrison7-Dec-03 5:04 
GeneralRe: Visual Studio AddIn problem - adding a sub-menu to the Edit menu Pin
Heath Stewart7-Dec-03 10:27
protectorHeath Stewart7-Dec-03 10:27 
GeneralRe: Visual Studio AddIn problem - adding a sub-menu to the Edit menu Pin
Nick Parker7-Dec-03 10:51
protectorNick Parker7-Dec-03 10:51 
GeneralRe: Visual Studio AddIn problem - adding a sub-menu to the Edit menu Pin
Heath Stewart7-Dec-03 10:55
protectorHeath Stewart7-Dec-03 10:55 
GeneralAbout Journal--hook Pin
lajiyo6-Dec-03 16:21
lajiyo6-Dec-03 16:21 
GeneralRe: About Journal--hook Pin
leppie6-Dec-03 22:13
leppie6-Dec-03 22:13 
GeneralInfinite Recursion and other odd errors with Network API wrapper Pin
bri189a6-Dec-03 15:14
bri189a6-Dec-03 15:14 
GeneralRe: Infinite Recursion and other odd errors with Network API wrapper Pin
leppie6-Dec-03 22:11
leppie6-Dec-03 22:11 
GeneralRe: Infinite Recursion and other odd errors with Network API wrapper Pin
Heath Stewart7-Dec-03 4:24
protectorHeath Stewart7-Dec-03 4:24 
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 

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.