Click here to Skip to main content
15,897,891 members
Home / Discussions / Visual Basic
   

Visual Basic

 
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 
If I don't start the process, the progressbar in the form works fine. So the p.Start action hang the progressbar form.

 Private Sub Run_FAST_Tool()

    Dim sAppPath As String = ".\FAST.exe"
    Dim fileName As String = objFASTPrimaryData.FASTPrimaryFileName_FST
    Dim p As New System.Diagnostics.Process()

    Dim rtnStr As String = String.Empty

    p.StartInfo.FileName = Application.StartupPath & "\" & sAppPath
    p.StartInfo.Arguments = fileName

    'Do not use the system shell to start the program this is so we can hide the command dos window
    p.StartInfo.UseShellExecute = False
    p.StartInfo.WorkingDirectory = strOutputFilePath
    ' Show no dos window if false
    p.StartInfo.CreateNoWindow = True
    p.StartInfo.RedirectStandardOutput = True

    Dim progBarFrm As New FormProgressBar
    progBarFrm.Show()
end sub

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 
QuestionVB.NET Handle SQL DB in Multi user application Pin
All Time Programming23-May-11 20:44
All Time Programming23-May-11 20:44 
AnswerRe: VB.NET Handle SQL DB in Multi user application Pin
AspDotNetDev23-May-11 22:01
protectorAspDotNetDev23-May-11 22:01 
GeneralRe: VB.NET Handle SQL DB in Multi user application Pin
All Time Programming23-May-11 22:34
All Time Programming23-May-11 22:34 
GeneralRe: VB.NET Handle SQL DB in Multi user application Pin
Thomas Krojer23-May-11 23:13
Thomas Krojer23-May-11 23:13 
GeneralRe: VB.NET Handle SQL DB in Multi user application Pin
Dave Kreskowiak24-May-11 1:21
mveDave Kreskowiak24-May-11 1:21 
GeneralRe: VB.NET Handle SQL DB in Multi user application Pin
All Time Programming24-May-11 1:36
All Time Programming24-May-11 1:36 
GeneralRe: VB.NET Handle SQL DB in Multi user application Pin
Dave Kreskowiak24-May-11 1:55
mveDave Kreskowiak24-May-11 1:55 
GeneralRe: VB.NET Handle SQL DB in Multi user application Pin
All Time Programming24-May-11 1:58
All Time Programming24-May-11 1:58 
Questiongetting value of the textbox to be used in crystal report Pin
clarence_1323-May-11 16:35
clarence_1323-May-11 16:35 
AnswerRe: getting value of the textbox to be used in crystal report Pin
thatraja23-May-11 17:17
professionalthatraja23-May-11 17:17 
GeneralRe: getting value of the textbox to be used in crystal report Pin
clarence_1325-May-11 14:57
clarence_1325-May-11 14:57 
AnswerRe: getting value of the textbox to be used in crystal report Pin
thatraja25-May-11 15:50
professionalthatraja25-May-11 15:50 
GeneralRe: getting value of the textbox to be used in crystal report Pin
clarence_1325-May-11 20:02
clarence_1325-May-11 20:02 
GeneralRe: getting value of the textbox to be used in crystal report Pin
clarence_1325-May-11 20:42
clarence_1325-May-11 20:42 

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.