Click here to Skip to main content
15,912,475 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: please check it... Pin
Dave Kreskowiak3-Mar-07 10:34
mveDave Kreskowiak3-Mar-07 10:34 
AnswerRe: please check it... Pin
Ray Cassick3-Mar-07 8:24
Ray Cassick3-Mar-07 8:24 
QuestionWord or Excel , get opened file name Pin
Muhammad Nauman Yousuf3-Mar-07 8:00
Muhammad Nauman Yousuf3-Mar-07 8:00 
AnswerRe: Word or Excel , get opened file name Pin
MartinMachac6-Mar-07 4:43
MartinMachac6-Mar-07 4:43 
QuestionDesign question, typed datasets and designer Pin
steve_rm3-Mar-07 6:05
steve_rm3-Mar-07 6:05 
AnswerRe: Design question, typed datasets and designer Pin
Dave Kreskowiak3-Mar-07 6:57
mveDave Kreskowiak3-Mar-07 6:57 
QuestionLink progress bar to a timer Pin
harveyhanson3-Mar-07 5:52
harveyhanson3-Mar-07 5:52 
AnswerRe: Link progress bar to a timer Pin
Dave Kreskowiak3-Mar-07 6:44
mveDave Kreskowiak3-Mar-07 6:44 
A Progressbar doesn't progress on it's own. Your code has to actively update the current value of the ProgressBar control to get the bar to move. This means that you can't just set a Timer for 5 seconds, sit back and do nothing until it fires. Your Timer has to advance the ProgressBar.

Setup a ProgressBar on your form. Set it's minimum value to 1, maximum to 10, and step value to 1. Set a Timer on your form for say 500 milliseconds (half a second). In the Tick event of your Timer, call the PerformStep method on the Progress bar. When the Value of the ProgressBar reaches 10, your done, close your form.

Docs on ProgressBar[^]

Dave Kreskowiak
Microsoft MVP - Visual Basic


GeneralRe: Link progress bar to a timer Pin
harveyhanson3-Mar-07 7:12
harveyhanson3-Mar-07 7:12 
QuestionCall Keypress Pin
Anybloodyid3-Mar-07 5:14
Anybloodyid3-Mar-07 5:14 
AnswerRe: Call Keypress Pin
JUNEYT3-Mar-07 5:32
JUNEYT3-Mar-07 5:32 
AnswerRe: Call Keypress Pin
Dave Kreskowiak3-Mar-07 6:37
mveDave Kreskowiak3-Mar-07 6:37 
GeneralRe: Call Keypress Pin
Anybloodyid3-Mar-07 10:55
Anybloodyid3-Mar-07 10:55 
GeneralRe: Call Keypress Pin
Dave Kreskowiak3-Mar-07 13:14
mveDave Kreskowiak3-Mar-07 13:14 
GeneralRe: Call Keypress Pin
Anybloodyid3-Mar-07 22:08
Anybloodyid3-Mar-07 22:08 
QuestionVB.net and GetForegroundWindow Issues/Bug??? Pin
brentleim13-Mar-07 4:58
brentleim13-Mar-07 4:58 
AnswerRe: VB.net and GetForegroundWindow Issues/Bug??? Pin
Dave Kreskowiak3-Mar-07 6:25
mveDave Kreskowiak3-Mar-07 6:25 
GeneralRe: VB.net and GetForegroundWindow Issues/Bug??? [modified] Pin
brentleim13-Mar-07 8:20
brentleim13-Mar-07 8:20 
GeneralRe: VB.net and GetForegroundWindow Issues/Bug??? Pin
Dave Kreskowiak3-Mar-07 10:29
mveDave Kreskowiak3-Mar-07 10:29 
GeneralRe: VB.net and GetForegroundWindow Issues/Bug??? Pin
brentleim13-Mar-07 10:56
brentleim13-Mar-07 10:56 
GeneralRe: VB.net and GetForegroundWindow Issues/Bug??? Pin
brentleim13-Mar-07 12:43
brentleim13-Mar-07 12:43 
GeneralRe: VB.net and GetForegroundWindow Issues/Bug??? Pin
Dave Kreskowiak3-Mar-07 13:29
mveDave Kreskowiak3-Mar-07 13:29 
GeneralRe: VB.net and GetForegroundWindow Issues/Bug??? Pin
Dave Kreskowiak3-Mar-07 13:26
mveDave Kreskowiak3-Mar-07 13:26 
Question[Message Deleted] Pin
harveyhanson3-Mar-07 2:46
harveyhanson3-Mar-07 2:46 
AnswerRe: Easy one (I hope) Pin
JUNEYT3-Mar-07 2:53
JUNEYT3-Mar-07 2:53 

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.