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

Visual Basic

 
GeneralRe: Mail sending failed Pin
Sebastian T Xavier15-Oct-08 5:29
Sebastian T Xavier15-Oct-08 5:29 
GeneralRe: Mail sending failed Pin
Dave Kreskowiak15-Oct-08 5:35
mveDave Kreskowiak15-Oct-08 5:35 
GeneralRe: Mail sending failed Pin
Sebastian T Xavier15-Oct-08 5:48
Sebastian T Xavier15-Oct-08 5:48 
QuestionError from web service Pin
~Khatri Mitesh~15-Oct-08 4:36
~Khatri Mitesh~15-Oct-08 4:36 
AnswerRe: Error from web service Pin
Ashfield15-Oct-08 5:20
Ashfield15-Oct-08 5:20 
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 
Hi everyone,

I´m programming an application win forms and in some parts of my application I have a strong processing module, and I´ve decided do make a loading screen.

So, i´ve done it:

Private Sub ShowLoading()
  Dim frmBlank As New frmBlank
  frmBlank.Cursor = Cursors.WaitCursor
  frmBlank.Show()
  Dim frmLoading As New frmLoading
  frmLoading.ShowDialog()
End Sub

Private Sub StartLoadingThread()
  thread = New Threading.Thread(AddressOf ShowLoading)
  thread.Start()
End Sub

Private Sub StopLoadingThread()
  thread.Abort()
End Sub



But, the problems appear, when i abort the thread, the loading form closes, as it have to close, but the whole application minimizes.

I´m using the form in a Class Library, and it start maximized. THe whole think works as it have to work perfectly, but the problem is the application minimize.

Thanks everyone!

-----
LeandroAB

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 
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 

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.