Click here to Skip to main content
15,914,109 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Problem deleting a file (being used by another process) Pin
Dave Kreskowiak25-May-11 3:02
mveDave Kreskowiak25-May-11 3:02 
AnswerRe: Problem deleting a file (being used by another process) Pin
Luc Pattyn25-May-11 3:13
sitebuilderLuc Pattyn25-May-11 3:13 
GeneralRe: Problem deleting a file (being used by another process) Pin
Nagy Vilmos26-May-11 0:15
professionalNagy Vilmos26-May-11 0:15 
AnswerRe: Problem deleting a file (being used by another process) Pin
Luc Pattyn26-May-11 0:22
sitebuilderLuc Pattyn26-May-11 0:22 
QuestionVB.NET Progress status while run a EXE file Pin
Andraw Tang24-May-11 4:26
Andraw Tang24-May-11 4:26 
AnswerRe: VB.NET Progress status while run a EXE file Pin
Dave Kreskowiak24-May-11 4:31
mveDave Kreskowiak24-May-11 4:31 
AnswerRe: VB.NET Progress status while run a EXE file Pin
Luc Pattyn24-May-11 4:37
sitebuilderLuc Pattyn24-May-11 4:37 
GeneralRe: VB.NET Progress status while run a EXE file Pin
Andraw Tang24-May-11 5:10
Andraw Tang24-May-11 5:10 
Davd and Luc,

Thanks for your reply.

Acutally my code is like the following, I didn't use thread, I am not familiar with it.

Dim progBarFrm As New FormProgressBar
progBarFrm.Show()

try
    p.Start()
Catch ex As Exception
    ShowValidationMessage("Unexception error is caught, please close WinTAP and try again.", "Error")
    progBarFrm.Close()
    Return
End Try


rtnStr = p.StandardOutput.ReadToEnd()

p.WaitForExit(5400000)
If Not p.HasExited Then
    p.Kill()
End If

progBarFrm.Close()

GeneralRe: VB.NET Progress status while run a EXE file Pin
Andraw Tang24-May-11 6:52
Andraw Tang24-May-11 6:52 
AnswerRe: VB.NET Progress status while run a EXE file Pin
Luc Pattyn24-May-11 7:05
sitebuilderLuc Pattyn24-May-11 7:05 
GeneralRe: VB.NET Progress status while run a EXE file Pin
Andraw Tang24-May-11 7:24
Andraw Tang24-May-11 7:24 
Answerthere probably is a mistake somewhere Pin
Luc Pattyn24-May-11 7:42
sitebuilderLuc Pattyn24-May-11 7:42 
GeneralRe: there probably is a mistake somewhere [modified] Pin
Andraw Tang24-May-11 8:13
Andraw Tang24-May-11 8:13 
GeneralRe: there probably is a mistake somewhere Pin
Luc Pattyn24-May-11 8:38
sitebuilderLuc Pattyn24-May-11 8:38 
GeneralRe: there probably is a mistake somewhere Pin
Andraw Tang24-May-11 9:01
Andraw Tang24-May-11 9:01 
GeneralRe: there probably is a mistake somewhere Pin
Dave Kreskowiak24-May-11 8:41
mveDave Kreskowiak24-May-11 8:41 
GeneralRe: there probably is a mistake somewhere Pin
Andraw Tang24-May-11 9:04
Andraw Tang24-May-11 9:04 
GeneralRe: there probably is a mistake somewhere Pin
Andraw Tang24-May-11 8:45
Andraw Tang24-May-11 8:45 
GeneralRe: there probably is a mistake somewhere Pin
Dave Kreskowiak24-May-11 8:51
mveDave Kreskowiak24-May-11 8:51 
GeneralRe: there probably is a mistake somewhere Pin
Andraw Tang24-May-11 9:27
Andraw Tang24-May-11 9:27 
GeneralRe: there probably is a mistake somewhere Pin
Dave Kreskowiak24-May-11 9:49
mveDave Kreskowiak24-May-11 9:49 
GeneralRe: there probably is a mistake somewhere Pin
Andraw Tang24-May-11 9:41
Andraw Tang24-May-11 9:41 
GeneralRe: there probably is a mistake somewhere Pin
Dave Kreskowiak24-May-11 9:51
mveDave Kreskowiak24-May-11 9:51 
GeneralRe: there probably is a mistake somewhere Pin
Andraw Tang24-May-11 12:13
Andraw Tang24-May-11 12:13 
GeneralRe: there probably is a mistake somewhere Pin
Dave Kreskowiak24-May-11 12:26
mveDave Kreskowiak24-May-11 12:26 

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.