Click here to Skip to main content
15,896,526 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How difficult to switch from DoEvents to Threading? Pin
Dave Kreskowiak2-Jun-13 19:28
mveDave Kreskowiak2-Jun-13 19:28 
GeneralRe: How difficult to switch from DoEvents to Threading? Pin
treddie2-Jun-13 20:57
treddie2-Jun-13 20:57 
QuestionVB.NET and PHP mysql connection Pin
Amiet_Mhaske2-Jun-13 9:52
Amiet_Mhaske2-Jun-13 9:52 
QuestionThe old DoEvents and UserControls Pin
treddie1-Jun-13 18:41
treddie1-Jun-13 18:41 
AnswerRe: The old DoEvents and UserControls Pin
Dave Kreskowiak2-Jun-13 4:03
mveDave Kreskowiak2-Jun-13 4:03 
GeneralRe: The old DoEvents and UserControls Pin
treddie2-Jun-13 7:21
treddie2-Jun-13 7:21 
GeneralRe: The old DoEvents and UserControls Pin
Dave Kreskowiak2-Jun-13 7:42
mveDave Kreskowiak2-Jun-13 7:42 
GeneralRe: The old DoEvents and UserControls Pin
treddie2-Jun-13 9:26
treddie2-Jun-13 9:26 
The Pause button click event is not even firing to set the flag, except when the program is currently in my Form1 class, where that button is located. That is what it SEEMS like, anyway. My take on it is that when I try the Pause button while execution is inside the treeview usercontrol, (where execution seems to be spending the majority of its time under certain conditions) the button's click event can't fire because the program is not currently in Form1 to process it.

When I notice this the most, is when the treeview is cycling through a bunch of files in some folder, one after the other. If a file does not meet a certain set of criteria, it immediately moves to the next file in the folder, and this occurs rapidly. Since the treeview must update for every change in node selection for every file, the code is spending a lot of time in the usercontrol just spitting out updates to the treeview. I think that is when my Pause button Click event fails to fire. And I mean explicitly that...I can put a breakpoint in the button's Click event, and it never triggers.

When a scan of the treeview completes, the Pause button responds immediately.
GeneralRe: The old DoEvents and UserControls Pin
Dave Kreskowiak2-Jun-13 14:21
mveDave Kreskowiak2-Jun-13 14:21 
GeneralRe: The old DoEvents and UserControls Pin
treddie2-Jun-13 16:33
treddie2-Jun-13 16:33 
GeneralRe: The old DoEvents and UserControls Pin
Dave Kreskowiak2-Jun-13 19:25
mveDave Kreskowiak2-Jun-13 19:25 
GeneralRe: The old DoEvents and UserControls Pin
treddie2-Jun-13 21:02
treddie2-Jun-13 21:02 
Questionlooping through rows and columns of a datarow Pin
hlsc19831-Jun-13 8:21
hlsc19831-Jun-13 8:21 
Questionhow to loop through items(columns) of a row in a dataset? Pin
hlsc198331-May-13 21:49
hlsc198331-May-13 21:49 
QuestionNot Getting cell value for selected row of GridView Pin
ADSCNET30-May-13 7:36
ADSCNET30-May-13 7:36 
QuestionRenci SSH Problem Pin
ToxicF3AR28-May-13 5:50
ToxicF3AR28-May-13 5:50 
AnswerRe: Renci SSH Problem Pin
Dave Kreskowiak28-May-13 5:56
mveDave Kreskowiak28-May-13 5:56 
GeneralRe: Renci SSH Problem Pin
ToxicF3AR28-May-13 6:07
ToxicF3AR28-May-13 6:07 
GeneralRe: Renci SSH Problem Pin
Richard MacCutchan28-May-13 6:31
mveRichard MacCutchan28-May-13 6:31 
GeneralRe: Renci SSH Problem Pin
ToxicF3AR28-May-13 6:41
ToxicF3AR28-May-13 6:41 
QuestionWhere is my program spending the majority of time? Pin
treddie27-May-13 14:52
treddie27-May-13 14:52 
AnswerRe: Where is my program spending the majority of time? Pin
Dave Kreskowiak27-May-13 16:00
mveDave Kreskowiak27-May-13 16:00 
GeneralRe: Where is my program spending the majority of time? Pin
treddie27-May-13 17:26
treddie27-May-13 17:26 
GeneralRe: Where is my program spending the majority of time? Pin
Dave Kreskowiak27-May-13 18:06
mveDave Kreskowiak27-May-13 18:06 
GeneralRe: Where is my program spending the majority of time? Pin
treddie27-May-13 18:16
treddie27-May-13 18:16 

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.