Click here to Skip to main content
15,911,646 members
Home / Discussions / C#
   

C#

 
GeneralSystem.NullReferenceException occurred in Unknown Module Pin
AO-Action22-Mar-05 1:36
AO-Action22-Mar-05 1:36 
GeneralRe: System.NullReferenceException occurred in Unknown Module Pin
Robert Rohde22-Mar-05 2:05
Robert Rohde22-Mar-05 2:05 
GeneralRe: System.NullReferenceException occurred in Unknown Module Pin
AO-Action22-Mar-05 2:31
AO-Action22-Mar-05 2:31 
QuestionHow to get text on screen Pin
levgiang22-Mar-05 0:39
levgiang22-Mar-05 0:39 
AnswerRe: How to get text on screen Pin
leppie22-Mar-05 1:07
leppie22-Mar-05 1:07 
AnswerRe: How to get text on screen Pin
Dave Kreskowiak22-Mar-05 4:48
mveDave Kreskowiak22-Mar-05 4:48 
Generallist view goes blank Pin
maheshfour21-Mar-05 23:12
maheshfour21-Mar-05 23:12 
GeneralRe: list view goes blank Pin
Dave Kreskowiak22-Mar-05 4:45
mveDave Kreskowiak22-Mar-05 4:45 
That depends entirely on how your filling the ListView while your capturing packets. Are you letting the ListView update itself after filling it with data? Is your packet capture process running on the same thread of the UI? If so, then you're going to have to call Application.DoEvents to let the Window and it's controls redraw themselves. A better method would be to run the capture process on a seperate thread and have it post calls back to the Window with the ListView telling it to add the data, possibly using an event.

Also, consider that you can't possibly update the ListView fast enough to post every packet that flies by as it does so. You might want to hold off updating the ListView until the capture is finished, then you can populate the ListView however you want.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

Generaltabs in tree view Pin
Anonymous21-Mar-05 23:05
Anonymous21-Mar-05 23:05 
GeneralRe: tabs in tree view Pin
Dave Kreskowiak22-Mar-05 4:39
mveDave Kreskowiak22-Mar-05 4:39 
Generalfile system protection Pin
computer_eng21-Mar-05 22:52
computer_eng21-Mar-05 22:52 
GeneralRe: file system protection Pin
James Poulose21-Mar-05 23:37
James Poulose21-Mar-05 23:37 
GeneralRe: file system protection Pin
Anonymous22-Mar-05 22:01
Anonymous22-Mar-05 22:01 
GeneralRe: file system protection Pin
Dave Kreskowiak22-Mar-05 4:37
mveDave Kreskowiak22-Mar-05 4:37 
GeneralRe: file system protection Pin
Anonymous22-Mar-05 22:47
Anonymous22-Mar-05 22:47 
GeneralRe: file system protection Pin
Dave Kreskowiak23-Mar-05 0:43
mveDave Kreskowiak23-Mar-05 0:43 
GeneralFit together two controls Pin
jetli_bos21-Mar-05 20:48
sussjetli_bos21-Mar-05 20:48 
GeneralRe: Fit together two controls Pin
Colin Angus Mackay21-Mar-05 21:08
Colin Angus Mackay21-Mar-05 21:08 
GeneralRe: Fit together two controls Pin
MoustafaS21-Mar-05 21:32
MoustafaS21-Mar-05 21:32 
QuestionHow to export an image to MS Excel? Pin
welsrping21-Mar-05 20:19
welsrping21-Mar-05 20:19 
Generalvideo conference project Pin
shumyla198321-Mar-05 16:54
shumyla198321-Mar-05 16:54 
GeneralRe: video conference project Pin
Dave Kreskowiak22-Mar-05 4:33
mveDave Kreskowiak22-Mar-05 4:33 
Generalvideo conference project Pin
shumyla198321-Mar-05 16:52
shumyla198321-Mar-05 16:52 
GeneralRemovePreviousVersions Feature Pin
azusakt21-Mar-05 16:44
azusakt21-Mar-05 16:44 
GeneralRe: RemovePreviousVersions Feature Pin
leppie21-Mar-05 18:08
leppie21-Mar-05 18:08 

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.