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

Visual Basic

 
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 
Hi all.

I have a question about program performance. I have a ton of loops all over the place, and a pause button to pause execution. The pause button is pretty much useless right now as it gets superceded by what I figure are long-winded loops. In an attempt to locate the problem loops, I ended up placing temporary DoEvents lines in all of them. The idea was to see if I could get better performance out of the button. Then, I could remove the majority of those DoEvents that did not impact performance all that much. Unfortunately, all that work resulted in no better performance at all for the button. So I have two questions:
1. Is there some utility that can pinpoint where the majority of a program spends its time, without placing timers or stopwatches everywhere.

2. Are their certain events or API functions that can essentially "shut-down" DoEvents lines?

Thanks for any advice! Smile | :)
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 
GeneralRe: Where is my program spending the majority of time? Pin
Dave Kreskowiak28-May-13 1:45
mveDave Kreskowiak28-May-13 1:45 
AnswerRe: Where is my program spending the majority of time? Pin
Tim Carmichael28-May-13 5:47
Tim Carmichael28-May-13 5:47 
GeneralRe: Where is my program spending the majority of time? Pin
treddie28-May-13 7:57
treddie28-May-13 7:57 
Questionsubcription out of range? how can i fix this problem Pin
Member 1003837621-May-13 15:02
Member 1003837621-May-13 15:02 
AnswerRe: subcription out of range? how can i fix this problem Pin
Dave Kreskowiak21-May-13 16:30
mveDave Kreskowiak21-May-13 16:30 
Questionvb6 vidoes Pin
gunakag2019-May-13 23:22
gunakag2019-May-13 23:22 
AnswerRe: vb6 vidoes Pin
CHill6020-May-13 0:06
mveCHill6020-May-13 0:06 
QuestionVB.net 2010 form positioning Pin
athan_makubex19-May-13 9:04
athan_makubex19-May-13 9:04 
AnswerRe: VB.net 2010 form positioning Pin
Richard MacCutchan19-May-13 9:39
mveRichard MacCutchan19-May-13 9:39 
AnswerRe: VB.net 2010 form positioning Pin
NotPolitcallyCorrect19-May-13 10:51
NotPolitcallyCorrect19-May-13 10:51 
AnswerRe: VB.net 2010 form positioning Pin
claudiotronic19-May-13 20:37
claudiotronic19-May-13 20:37 
Questionneed VBA code!!! Pin
ssrd217-May-13 0:05
ssrd217-May-13 0:05 
AnswerRe: need VBA code!!! Pin
Richard MacCutchan17-May-13 1:09
mveRichard MacCutchan17-May-13 1:09 

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.