Click here to Skip to main content
15,916,189 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Force the vertical scrollbar down Pin
Brandon-X120007-Mar-12 5:35
Brandon-X120007-Mar-12 5:35 
GeneralRe: Force the vertical scrollbar down Pin
Dave Kreskowiak7-Mar-12 7:05
mveDave Kreskowiak7-Mar-12 7:05 
QuestionHow to check the double vaue is "1.#QNAN"? Pin
lavate malllik6-Mar-12 22:03
lavate malllik6-Mar-12 22:03 
AnswerRe: How to check the double vaue is "1.#QNAN"? Pin
Simon_Whale6-Mar-12 22:57
Simon_Whale6-Mar-12 22:57 
GeneralRe: How to check the double vaue is "1.#QNAN"? Pin
lavate malllik6-Mar-12 23:18
lavate malllik6-Mar-12 23:18 
QuestionThread Problem? Pin
Midnight Ahri5-Mar-12 15:29
Midnight Ahri5-Mar-12 15:29 
AnswerRe: Thread Problem? Pin
Dave Kreskowiak5-Mar-12 15:59
mveDave Kreskowiak5-Mar-12 15:59 
AnswerRe: Thread Problem? Pin
Luc Pattyn5-Mar-12 17:02
sitebuilderLuc Pattyn5-Mar-12 17:02 
Your code won't do what you want for the reason Dave explained.

As the delays are there to get some pause in between changes to the user interface, the better approach is to use a "state machine" and a timer, and more particularly a System.Windows.Forms.Timer which will fire its Tick event periodically; the state machine evolves form state 0, to state 1, then state 2, etc until it is done, so you'll need at least one state variable to know how far your state machine has progressed. This may be simpler than adding another thread, as extra threads are easy for scheduling stuff, but not so for accessing Controls.

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum

GeneralRe: Thread Problem? Pin
Dave Kreskowiak5-Mar-12 17:04
mveDave Kreskowiak5-Mar-12 17:04 
GeneralRe: Thread Problem? Pin
Luc Pattyn5-Mar-12 17:15
sitebuilderLuc Pattyn5-Mar-12 17:15 
GeneralOT Pin
cptKoala5-Mar-12 20:52
cptKoala5-Mar-12 20:52 
GeneralRe: OT Pin
Dave Kreskowiak6-Mar-12 4:39
mveDave Kreskowiak6-Mar-12 4:39 
GeneralRe: Thread Problem? Pin
Dave Kreskowiak6-Mar-12 4:38
mveDave Kreskowiak6-Mar-12 4:38 
Questionhow to hide assemblies default icon after running any exe in vb.net(Windows app)? Pin
jayawant sawant4-Mar-12 22:36
jayawant sawant4-Mar-12 22:36 
AnswerRe: how to hide assemblies default icon after running any exe in vb.net(Windows app)? Pin
Eddy Vluggen5-Mar-12 0:33
professionalEddy Vluggen5-Mar-12 0:33 
AnswerRe: how to hide assemblies default icon after running any exe in vb.net(Windows app)? Pin
Simon_Whale5-Mar-12 3:07
Simon_Whale5-Mar-12 3:07 
GeneralRe: how to hide assemblies default icon after running any exe in vb.net(Windows app)? Pin
Andy Missico6-Mar-12 19:50
Andy Missico6-Mar-12 19:50 
GeneralRe: how to hide assemblies default icon after running any exe in vb.net(Windows app)? Pin
Richard MacCutchan6-Mar-12 22:13
mveRichard MacCutchan6-Mar-12 22:13 
GeneralRe: how to hide assemblies default icon after running any exe in vb.net(Windows app)? Pin
Andy Missico7-Mar-12 4:06
Andy Missico7-Mar-12 4:06 
AnswerRe: how to hide assemblies default icon after running any exe in vb.net(Windows app)? Pin
Dave Kreskowiak5-Mar-12 4:54
mveDave Kreskowiak5-Mar-12 4:54 
AnswerRe: how to hide assemblies default icon after running any exe in vb.net(Windows app)? Pin
MaulikDusara5-Mar-12 17:27
MaulikDusara5-Mar-12 17:27 
Generalhow to hide exe into taskmanager in windows 7 using vb.net windows application? Pin
jayawant sawant4-Mar-12 22:36
jayawant sawant4-Mar-12 22:36 
GeneralRe: how to hide exe into taskmanager in windows 7 using vb.net windows application? Pin
Simon_Whale5-Mar-12 0:40
Simon_Whale5-Mar-12 0:40 
GeneralRe: how to hide exe into taskmanager in windows 7 using vb.net windows application? Pin
Andy Missico6-Mar-12 19:59
Andy Missico6-Mar-12 19:59 
GeneralRe: how to hide exe into taskmanager in windows 7 using vb.net windows application? Pin
Dave Kreskowiak5-Mar-12 4:53
mveDave Kreskowiak5-Mar-12 4: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.