VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Synchronous processing of executables - VB will wait until the app. finishes before proceeding

LockwoodTech  (3 Submissions)   Windows System Services   Visual Basic 5.0   Unknown Difficulty   Sat 29th July 2000   Mon 8th February 2021

Synchronous processing of executables - VB will wait until the app. finishes before proceeding

API Declarations


hHandle As Long, ByVal dwMilliseconds As Long) As Long

Private Declare Function CreateProcessA Lib "kernel32" (ByVal _
lpApplicationName As Long, ByVal lpCommandLine As String, ByVal _
lpProcessAttributes As Long, ByVal lpThreadAttributes As Long, _
ByVal bInheritHandles As Long, ByVal dwCreationFlags As Long, _
ByVal lpEnvironment As Long, ByVal lpCurrentDirectory As Long, _
lpStartupInfo As STARTUPINFO, lpProcessInformation As _
PROCESS_INFORMATION) As Long

Private Declare Function CloseHandle Lib "kernel32" _
(ByVal hObject As Long) As Long

Private Declare Function GetExitCodeProcess Lib "kernel32" _
(ByVal hProcess As Long, lpExitCode As Long) As Long

Private Const NORMAL_PRIORITY_CLASS = &H20&
Private Const INFINITE = -1&

Rate Synchronous processing of executables - VB will wait until the app. finishes before proceeding (1(1 Vote))
Synchronous processing of executables - VB will wait until the app. finishes before proceeding.bas

Synchronous processing of executables - VB will wait until the app. finishes before proceeding Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters