
نوشته شده توسط
hamidrezax1
به هر دوسوالتون در این
سایت جواب داد شده موفق باشید
متاسفانه کمکم نکرد
به یک مثال نیاز دارم خیلی تو stack گشم و خوندم ولی نتونستم انجام بدم
من میخواهم برای این دستور از background worker استفاده کنم و پروگرس بار و استوپ کار کنه
Dim oProcess As New Process()
Dim oStartInfo As New ProcessStartInfo("cmd.exe", "/c apktool d framework-res.apk")
oStartInfo.WindowStyle = ProcessWindowStyle.Hidden
oStartInfo.CreateNoWindow = True
oStartInfo.UseShellExecute = False
oStartInfo.RedirectStandardOutput = True
oProcess.StartInfo = oStartInfo
oProcess.Start()
Dim sOutput As String
Using oStreamReader As System.IO.StreamReader = oProcess.StandardOutput
sOutput = oStreamReader.ReadToEnd()
End Using
TextBox8.Invoke(Sub() TextBox8.AppendText(Environment.NewLine & sOutput))