Barcode related
回覆
Programming
Software Application
General
Cook Book
For VBScript: DateDiff("s", "01/01/1970 00:00:00", Now())
Dim WshShell, oExec Set WshShell = CreateObject("WScript.Shell") Set oExec = WshShell.Exec("InsertFullPathToYourExeInHere") Do While oExec.Status = 0 WScript.Sleep 100 Loop Select Case oExec.ExitCode Case 0 ' do something... Case 1 ' do something else... End Select
Example