How to get the cmd prompt to run in hidden mode when calling a .bat file?
I'm calling .bat file from my vb.net application.Bu I dont know how to get the cmd prompt to run in hidden mode when I call .bat file.Help me please..
I'm calling .bat file from my vb.net application.Bu I dont know how to get the cmd prompt to run in hidden mode when I call .bat file.Help me please..
From:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=758840&SiteID=1
Dim theProcessStartInfo as new ProcessStartInfo("filename.bat")
theProcessStartInfo.CreateNoWindow = true
theProcessStartInfo.WindowStyle = ProcessWindowStyle.Hidden
Process.Start(theProcessStartInfo)