Ich würde gern wissen, wie ich ein shell commando abfragen kann.
z.b. mit osql, wenn ein falsches passwort angegeben wird. Geht das überhaupt? Weil ich ja nur einen Integer (processID) wiederbekomme ...
<br />
Wäre für jede Hilfe dankbar
<hr />
Try
Me.myID = Shell("osql -U sa -P " & Me.tbChckProgramm.Text, AppWinStyle.Hide, False, -1)
Catch ex As Exception
Debug.WriteLine("Mh, nix : " & ex.Message)
Finally
Me.lblAusgabe.Text = Me.myID.ToString
End Try
z.b. mit osql, wenn ein falsches passwort angegeben wird. Geht das überhaupt? Weil ich ja nur einen Integer (processID) wiederbekomme ...
<br />
Wäre für jede Hilfe dankbar
<hr />
Try
Me.myID = Shell("osql -U sa -P " & Me.tbChckProgramm.Text, AppWinStyle.Hide, False, -1)
Catch ex As Exception
Debug.WriteLine("Mh, nix : " & ex.Message)
Finally
Me.lblAusgabe.Text = Me.myID.ToString
End Try
Comment