Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Minimize Batch File

Status
Not open for further replies.

peopleperson88

Technical User
Aug 8, 2002
46
US
I have created a VB project that exports data into a batch file then executes that batch file.

As of right now, when the bacth file executes it is displayed fully. How do I minimze the batch file when it is executing?
 
In case anybody in curious. Here is the code to open a Batch file within VB and minimize it.

Dim myProcess As New Process
myProcess.StartInfo.FileName = "install.bat"
myProcess.StartInfo.WindowStyle = ProcessWindowStyle.Hidden
myProcess.Start()
Me.Hide()

When the batch file is executed the form hides.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top