Quantcast
Channel: VB 2010 Progress Bar.
Viewing all articles
Browse latest Browse all 41

VB 2010 Progress Bar.

$
0
0

Okay, I fugured it out.  I got this code.

Dim s = Sub()Using p AsNew ProcessAddHandler p.ErrorDataReceived,Sub(sendingProcess AsObject,
            outLine As DataReceivedEventArgs)If outLine.Data <> ""Then BeginInvoke(Sub() Text = outLine.Data)EndSub

        p.StartInfo.FileName = "D:\Projekte\StaxMedia\trunk\StaxRip\bin\Applications\x264\x264.exe"
        p.StartInfo.Arguments = "--preset fast --tune film --crf 18 --sar 16:11 --output ""D:\Video\Samples\DVD\Pulp Fiction\VTS_01_1 temp files\VTS_01_1_CompCheck.h264"" ""D:\Video\Samples\DVD\Pulp Fiction\VTS_01_1 temp files\VTS_01_1_CompCheck.avs"""
        p.StartInfo.UseShellExecute = False
        p.StartInfo.RedirectStandardError = True
        p.StartInfo.CreateNoWindow = True
        p.Start()
        p.BeginErrorReadLine()
        p.WaitForExit()EndUsingEndSub

s.BeginInvoke(Nothing, Nothing)
But I just don't know what part of this sets the window name to the progress of what everything is being outputted.  I want to make output to a my form, form3 I think it is, and make it be with a progress bar. 

Viewing all articles
Browse latest Browse all 41

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>