Click here to Skip to main content
15,917,174 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Google search trouhh my app Pin
_mubashir17-Aug-06 21:10
_mubashir17-Aug-06 21:10 
GeneralRe: Google search trouhh my app Pin
FeRtoll18-Aug-06 13:41
FeRtoll18-Aug-06 13:41 
AnswerRe: Google search trouhh my app Pin
Coding C#18-Aug-06 2:05
Coding C#18-Aug-06 2:05 
GeneralRe: Google search trouhh my app Pin
FeRtoll18-Aug-06 13:40
FeRtoll18-Aug-06 13:40 
QuestionUsing the progress bar control to track database activities Pin
Robotovich17-Aug-06 6:42
Robotovich17-Aug-06 6:42 
AnswerRe: Using the progress bar control to track database activities Pin
Stephen McGuire17-Aug-06 8:50
Stephen McGuire17-Aug-06 8:50 
GeneralRe: Using the progress bar control to track database activities Pin
Robotovich18-Aug-06 9:19
Robotovich18-Aug-06 9:19 
GeneralRe: Using the progress bar control to track database activities [modified] Pin
Stephen McGuire18-Aug-06 9:42
Stephen McGuire18-Aug-06 9:42 
Well, if you know the total of records in the first place, just divide this by 100. The you could do something like this:

Value = CInt(TotalRecords/100) 'Equals 1%

Add a handler for the RowChanged event of your table(s).
Then in the RowChanged events:

Check for: e.Row.RowState = DataRowState.Added
and update a public counter...

Check it against 'Value' and update the ProgressBar.Value when it meets the criteria you choose.

Just one way to do it. It is going to slow down your inserts to some degree though...

Steve


-- modified at 15:43 Friday 18th August, 2006
AnswerRe: Using the progress bar control to track database activities Pin
Christian Graus17-Aug-06 12:51
protectorChristian Graus17-Aug-06 12:51 
GeneralRe: Using the progress bar control to track database activities Pin
Robotovich18-Aug-06 9:20
Robotovich18-Aug-06 9:20 
QuestionWhat the theck am I missing: Filling tables Pin
cstrader23217-Aug-06 5:39
cstrader23217-Aug-06 5:39 
AnswerRe: What the theck am I missing: Filling tables Pin
Stephen McGuire17-Aug-06 8:52
Stephen McGuire17-Aug-06 8:52 
GeneralRe: What the theck am I missing: Filling tables Pin
cstrader23217-Aug-06 6:40
cstrader23217-Aug-06 6:40 
GeneralRe: What the theck am I missing: Filling tables Pin
eatwork17-Aug-06 10:47
eatwork17-Aug-06 10:47 
GeneralRe: What the theck am I missing: Filling tables [modified] Pin
Stephen McGuire17-Aug-06 11:29
Stephen McGuire17-Aug-06 11:29 
AnswerRe: What the theck am I missing: Filling tables Pin
Keith Malwitz17-Aug-06 11:51
Keith Malwitz17-Aug-06 11:51 
GeneralRe: What the theck am I missing: Filling tables Pin
cstrader23217-Aug-06 12:13
cstrader23217-Aug-06 12:13 
GeneralRe: What the theck am I missing: Filling tables [modified] Pin
Keith Malwitz17-Aug-06 12:24
Keith Malwitz17-Aug-06 12:24 
GeneralRe: What the theck am I missing: Filling tables Pin
cstrader23217-Aug-06 12:34
cstrader23217-Aug-06 12:34 
GeneralRe: What the theck am I missing: Filling tables Pin
eatwork17-Aug-06 13:05
eatwork17-Aug-06 13:05 
GeneralRe: What the theck am I missing: Filling tables Pin
Keith Malwitz17-Aug-06 16:27
Keith Malwitz17-Aug-06 16:27 
GeneralRe: What the theck am I missing: Filling tables Pin
cstrader23217-Aug-06 17:28
cstrader23217-Aug-06 17:28 
QuestionTo Bind Or Not to Bind Pin
eatwork17-Aug-06 5:10
eatwork17-Aug-06 5:10 
AnswerRe: To Bind Or Not to Bind Pin
Christian Graus17-Aug-06 12:57
protectorChristian Graus17-Aug-06 12:57 
GeneralRe: To Bind Or Not to Bind Pin
eatwork18-Aug-06 4:19
eatwork18-Aug-06 4:19 

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.