How to open and close windows notepad in VB.NET

1 Answer

0 votes
Module Module1

    Sub Main()

        Dim p As Process = Process.Start("notepad")

        Threading.Thread.Sleep(2000)

        p.Kill()

    End Sub

End Module


' run:
' 
' 

 



answered Oct 5, 2018 by avibootz

Related questions

1 answer 302 views
302 views asked Oct 13, 2018 by avibootz
1 answer 327 views
327 views asked Oct 5, 2018 by avibootz
1 answer 350 views
1 answer 276 views
276 views asked Oct 13, 2018 by avibootz
...