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 221 views
221 views asked Oct 13, 2018 by avibootz
1 answer 222 views
222 views asked Oct 5, 2018 by avibootz
1 answer 240 views
1 answer 163 views
163 views asked Oct 13, 2018 by avibootz
...