calling external program

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do i call out an external program(e.g. abc.exe) while hiding my current
window form.

when i exit this external program, how do i re-show my window form?
 
I use the next code that I hope that helps:

Dim proc As Process = Process.Start("calc")
Me.Hide()
proc.WaitForExit()
proc.Dispose()
Me.Show()


Best regards,

Jorge Serrano Pérez
MVP VB.NET
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top