Connecting Tech Pros Worldwide Forums | Help | Site Map

calling external program

notregister
Guest
 
Posts: n/a
#1: Nov 21 '05
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?

Jorge Serrano [MVP VB]
Guest
 
Posts: n/a
#2: Nov 21 '05

re: calling external program


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



"notregister" wrote:
[color=blue]
> 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?[/color]
Closed Thread