Good evening,
I have a simple dos command, I use to stop a java service which I am trying to execute within VB.NET, however it doesn't seem to stop my service.
My DOS command which works is as follows:
NET STOP "Java Quick Starter"
My VB.NET attempt is as follows but it doesn't work:
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.Visible = False
Shell("cmd.exe /k net stop (""Java Quick Starter"")")
End Sub
End Class
Could I ask for a tip on how to fix this?
Thank you
John