M
Mobile Boy 36
This code runs an executable on the pocket pc but it doesn't wait till the
exe has been finished.
How can I change this code (for the compact framework), so it waits till the
executable has been finished.
A RunExeAndWait...
Public Shared Function RunExe(ByVal Pad As String) As Boolean
Dim strLine As String
Dim Vangnet As Integer = 99
Try
Vangnet = CeCreateProcess(Pad, strLine, 0, 0, 0, 0, 0, 0, 0,
0)
Catch ex As Exception
End Try
Return (Vangnet <> 0)
End Function
exe has been finished.
How can I change this code (for the compact framework), so it waits till the
executable has been finished.
A RunExeAndWait...
Public Shared Function RunExe(ByVal Pad As String) As Boolean
Dim strLine As String
Dim Vangnet As Integer = 99
Try
Vangnet = CeCreateProcess(Pad, strLine, 0, 0, 0, 0, 0, 0, 0,
0)
Catch ex As Exception
End Try
Return (Vangnet <> 0)
End Function