Click here to Skip to main content
15,921,276 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionIntellisense is not displayed Pin
sunil goyalG15-Oct-08 3:20
sunil goyalG15-Oct-08 3:20 
AnswerRe: Intellisense is not displayed Pin
EliottA15-Oct-08 3:49
EliottA15-Oct-08 3:49 
QuestionThread Minimize Application Pin
LeandroABorges15-Oct-08 2:15
LeandroABorges15-Oct-08 2:15 
AnswerRe: Thread Minimize Application Pin
Dave Kreskowiak15-Oct-08 3:20
mveDave Kreskowiak15-Oct-08 3:20 
GeneralRe: Thread Minimize Application Pin
LeandroABorges15-Oct-08 5:13
LeandroABorges15-Oct-08 5:13 
GeneralRe: Thread Minimize Application Pin
Dave Kreskowiak15-Oct-08 5:28
mveDave Kreskowiak15-Oct-08 5:28 
GeneralRe: Thread Minimize Application Pin
LeandroABorges15-Oct-08 5:39
LeandroABorges15-Oct-08 5:39 
GeneralRe: Thread Minimize Application Pin
Dave Kreskowiak15-Oct-08 7:05
mveDave Kreskowiak15-Oct-08 7:05 
LeandroABorges wrote:
But how can i show the loading form, in many different process types without making a form for each process thread?


How about a Shared Sub? Call it whenever you launch a thread.


LeandroABorges wrote:
If i show the form in the thread, the process will stop, because it´s a dialog.


No, it won't. The long-running process should be in its own thread. That will NOT hang the UI thread, so it's free to redraw itself whenever needed.


LeandroABorges wrote:
If i show the form where i call the thread, the problema is the same.


No, it's not.

LeandroABorges wrote:
How i can tell the form that the process has finished and it can close?


The "Loading..." form doesn't know anything about the thread process, so it'll have to be destroyed by the form that created it when you code determines that the process is complete. You might want to look into the BackgroundWorker component to help you with this.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




GeneralRe: Thread Minimize Application Pin
LeandroABorges15-Oct-08 7:25
LeandroABorges15-Oct-08 7:25 
QuestionCreate a password protected PDF file Pin
Leo Lai15-Oct-08 0:14
Leo Lai15-Oct-08 0:14 
AnswerRe: Create a password protected PDF file Pin
Thomas Stockwell15-Oct-08 2:01
professionalThomas Stockwell15-Oct-08 2:01 
QuestionSSL FTP FILE DOWNLOADING Pin
antogladwin14-Oct-08 20:45
antogladwin14-Oct-08 20:45 
AnswerRe: SSL FTP FILE DOWNLOADING Pin
Ashfield14-Oct-08 21:33
Ashfield14-Oct-08 21:33 
AnswerRe: SSL FTP FILE DOWNLOADING Pin
Mycroft Holmes14-Oct-08 21:58
professionalMycroft Holmes14-Oct-08 21:58 
Questionimporting excel file to datagrid Pin
sanddepnamburi14-Oct-08 19:43
sanddepnamburi14-Oct-08 19:43 
AnswerRe: importing excel file to datagrid Pin
Mycroft Holmes14-Oct-08 20:50
professionalMycroft Holmes14-Oct-08 20:50 
QuestionRemove a Public property from base class?! Pin
MohammadAmiry14-Oct-08 19:19
MohammadAmiry14-Oct-08 19:19 
AnswerRe: Remove a Public property from base class?! Pin
MohammadAmiry14-Oct-08 19:25
MohammadAmiry14-Oct-08 19:25 
QuestionVB ComClass Pin
rahvyn1314-Oct-08 13:53
rahvyn1314-Oct-08 13:53 
AnswerRe: VB ComClass Pin
Dave Kreskowiak14-Oct-08 17:11
mveDave Kreskowiak14-Oct-08 17:11 
QuestionOK folks - have a good laugh!!!!! [modified] Pin
TheComputerMan14-Oct-08 10:25
TheComputerMan14-Oct-08 10:25 
AnswerRe: OK folks - have a good laugh!!!!! Pin
Jon_Boy14-Oct-08 11:39
Jon_Boy14-Oct-08 11:39 
AnswerRe: OK folks - have a good laugh!!!!! Pin
Roy Heil15-Oct-08 9:02
professionalRoy Heil15-Oct-08 9:02 
GeneralRe: OK folks - have a good laugh!!!!! Pin
TheComputerMan15-Oct-08 9:10
TheComputerMan15-Oct-08 9:10 
GeneralRe: OK folks - have a good laugh!!!!! Pin
TheComputerMan15-Oct-08 9:21
TheComputerMan15-Oct-08 9:21 

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.