Click here to Skip to main content
15,887,135 members
Home / Discussions / C#
   

C#

 
QuestionListBox SelectedValueChanged firing twice Pin
Pete Burkindine12-Aug-10 11:56
Pete Burkindine12-Aug-10 11:56 
AnswerRe: ListBox SelectedValueChanged firing twice Pin
Luc Pattyn12-Aug-10 12:37
sitebuilderLuc Pattyn12-Aug-10 12:37 
GeneralRe: ListBox SelectedValueChanged firing twice Pin
Pete Burkindine13-Aug-10 4:56
Pete Burkindine13-Aug-10 4:56 
GeneralRe: ListBox SelectedValueChanged firing twice Pin
Luc Pattyn13-Aug-10 5:08
sitebuilderLuc Pattyn13-Aug-10 5:08 
QuestionStreamWriter disposed before call to Close() in destructor Pin
dene9997012-Aug-10 10:55
dene9997012-Aug-10 10:55 
AnswerRe: StreamWriter disposed before call to Close() in destructor Pin
Ennis Ray Lynch, Jr.12-Aug-10 11:06
Ennis Ray Lynch, Jr.12-Aug-10 11:06 
AnswerRe: StreamWriter disposed before call to Close() in destructor Pin
Luc Pattyn12-Aug-10 11:27
sitebuilderLuc Pattyn12-Aug-10 11:27 
AnswerRe: StreamWriter disposed before call to Close() in destructor Pin
DaveyM6912-Aug-10 21:25
professionalDaveyM6912-Aug-10 21:25 
Are you using a 'using' block by any chance? If so, it automatically calls dispose at the end of the block so manual calls to dispose will cause issues.

Another possibility is that some other object (a stream reader or similar) may be closing/disposing the underlying stream.

Just a couple of ideas as without code it's very difficult to guess what the problem is.
Dave

If this helped, please vote & accept answer!


Binging is like googling, it just feels dirtier.
Please take your VB.NET out of our nice case sensitive forum.(Pete O'Hanlon)

BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)

QuestionForeach cannot operate on a 'method group'. Did you intend to invoke the 'method group'? Pin
Tichaona J12-Aug-10 7:35
Tichaona J12-Aug-10 7:35 
AnswerRe: Foreach cannot operate on a 'method group'. Did you intend to invoke the 'method group'? Pin
Luc Pattyn12-Aug-10 7:54
sitebuilderLuc Pattyn12-Aug-10 7:54 
AnswerRe: Foreach cannot operate on a 'method group'. Did you intend to invoke the 'method group'? Pin
Ian Shlasko12-Aug-10 7:55
Ian Shlasko12-Aug-10 7:55 
AnswerRe: Foreach cannot operate on a 'method group'. Did you intend to invoke the 'method group'? Pin
Luc Pattyn12-Aug-10 8:10
sitebuilderLuc Pattyn12-Aug-10 8:10 
GeneralRe: Foreach cannot operate on a 'method group'. Did you intend to invoke the 'method group'? Pin
Ian Shlasko12-Aug-10 8:24
Ian Shlasko12-Aug-10 8:24 
GeneralRe: Foreach cannot operate on a 'method group'. Did you intend to invoke the 'method group'? Pin
Luc Pattyn12-Aug-10 8:57
sitebuilderLuc Pattyn12-Aug-10 8:57 
GeneralRe: Foreach cannot operate on a 'method group'. Did you intend to invoke the 'method group'? Pin
AspDotNetDev12-Aug-10 7:56
protectorAspDotNetDev12-Aug-10 7:56 
GeneralRe: Foreach cannot operate on a 'method group'. Did you intend to invoke the 'method group'? Pin
Tichaona J12-Aug-10 9:16
Tichaona J12-Aug-10 9:16 
GeneralRe: Foreach cannot operate on a 'method group'. Did you intend to invoke the 'method group'? Pin
Tichaona J12-Aug-10 11:01
Tichaona J12-Aug-10 11:01 
AnswerRe: Foreach cannot operate on a 'method group'. Did you intend to invoke the 'method group'? Pin
Luc Pattyn12-Aug-10 11:28
sitebuilderLuc Pattyn12-Aug-10 11:28 
QuestionHow to update text (winform) from different thread ? ( What wrong with my code ?! ) Pin
Yanshof12-Aug-10 5:59
Yanshof12-Aug-10 5:59 
AnswerRe: How to update text (winform) from different thread ? ( What wrong with my code ?! ) Pin
AspDotNetDev12-Aug-10 8:02
protectorAspDotNetDev12-Aug-10 8:02 
AnswerRe: How to update text (winform) from different thread ? ( What wrong with my code ?! ) Pin
Ennis Ray Lynch, Jr.12-Aug-10 8:07
Ennis Ray Lynch, Jr.12-Aug-10 8:07 
GeneralRe: How to update text (winform) from different thread ? ( What wrong with my code ?! ) Pin
Yanshof12-Aug-10 13:01
Yanshof12-Aug-10 13:01 
Questionhow to set preprocessing when using devenv from the command line? Pin
mersad0012-Aug-10 4:09
mersad0012-Aug-10 4:09 
AnswerRe: how to set preprocessing when using devenv from the command line? Pin
Richard MacCutchan12-Aug-10 4:28
mveRichard MacCutchan12-Aug-10 4:28 
QuestionRe: how to set preprocessing when using devenv from the command line? Pin
mersad0013-Aug-10 7:41
mersad0013-Aug-10 7:41 

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.