Click here to Skip to main content
15,893,161 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to read data from external application? Pin
loony123416-Apr-07 13:28
loony123416-Apr-07 13:28 
Questioncrystal reports problem Pin
kifahhk15-Apr-07 12:38
kifahhk15-Apr-07 12:38 
AnswerRe: crystal reports problem Pin
phantanagu15-Apr-07 20:29
phantanagu15-Apr-07 20:29 
QuestionCreating RSS Reader Using New Windows RSS Platform Pin
William Spencer15-Apr-07 12:24
William Spencer15-Apr-07 12:24 
AnswerRe: Creating RSS Reader Using New Windows RSS Platform Pin
Judah Gabriel Himango16-Apr-07 10:18
sponsorJudah Gabriel Himango16-Apr-07 10:18 
QuestionOverload resolution failed in ReportViewer Pin
AndrusM15-Apr-07 12:00
AndrusM15-Apr-07 12:00 
QuestionCannot access disposed object error Pin
AndrusM15-Apr-07 11:55
AndrusM15-Apr-07 11:55 
AnswerRe: Cannot access disposed object error Pin
Luc Pattyn15-Apr-07 13:50
sitebuilderLuc Pattyn15-Apr-07 13:50 
Hi,

I guess the following is happening:

1. continued scrolling: keeping the mouse button down launches several Windows messages
that get processed one after another; if the processing takes longer than the autorepeat
interval, they accumulate, and after you release the mouse the processing will continue
for a while. Probably your processing is too slow. I suggest you add some logging
(with millisecond time resolution) to the mouse down, mouse up, and scroll events.

If this confirms my theory, you should go find what makes your scrolling that slow,
and fix it.

2. disposed: once a KeyPress event is fired, you close the form, causing it (and all
its content) to disappear; if any more events have been queued in the mean time,
they may not find their control any more (such as VScrollBar). This may be a side effect
of problem 1 !

Hope this helps.

Smile | :)


Luc Pattyn

[My Articles]

GeneralRe: Cannot access disposed object error Pin
AndrusM16-Apr-07 4:44
AndrusM16-Apr-07 4:44 
GeneralRe: Cannot access disposed object error Pin
Luc Pattyn16-Apr-07 7:07
sitebuilderLuc Pattyn16-Apr-07 7:07 
GeneralRe: Cannot access disposed object error Pin
AndrusM16-Apr-07 7:48
AndrusM16-Apr-07 7:48 
QuestionGetting Pixel Value Pin
Saikek15-Apr-07 10:27
Saikek15-Apr-07 10:27 
AnswerRe: Getting Pixel Value Pin
Christian Graus15-Apr-07 11:14
protectorChristian Graus15-Apr-07 11:14 
QuestionProblem with ContextMenu? [modified] Pin
Khoramdin15-Apr-07 10:18
Khoramdin15-Apr-07 10:18 
AnswerRe: Problem with ContextMenu? Pin
Judah Gabriel Himango17-Apr-07 3:41
sponsorJudah Gabriel Himango17-Apr-07 3:41 
QuestionReading Data From Database Pin
microuser_200015-Apr-07 9:20
microuser_200015-Apr-07 9:20 
AnswerRe: Reading Data From Database Pin
Christian Graus15-Apr-07 11:15
protectorChristian Graus15-Apr-07 11:15 
QuestionWebBrowser 2.0 in Multithread application Pin
cardy115-Apr-07 8:55
cardy115-Apr-07 8:55 
AnswerRe: WebBrowser 2.0 in Multithread application Pin
Luc Pattyn15-Apr-07 9:26
sitebuilderLuc Pattyn15-Apr-07 9:26 
AnswerRe: WebBrowser 2.0 in Multithread application Pin
cardy115-Apr-07 10:18
cardy115-Apr-07 10:18 
GeneralRe: WebBrowser 2.0 in Multithread application Pin
Luc Pattyn15-Apr-07 11:35
sitebuilderLuc Pattyn15-Apr-07 11:35 
AnswerRe: WebBrowser 2.0 in Multithread application Pin
cardy125-Apr-07 3:41
cardy125-Apr-07 3:41 
QuestionHow to open last form on startup Pin
AndrusM15-Apr-07 8:07
AndrusM15-Apr-07 8:07 
AnswerRe: How to open last form on startup Pin
Christian Graus15-Apr-07 11:28
protectorChristian Graus15-Apr-07 11:28 
GeneralRe: How to open last form on startup Pin
AndrusM15-Apr-07 11:52
AndrusM15-Apr-07 11:52 

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.