Private Const SYNCHRONIZE = &H100000 Private Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Long, _ ByVal bInheritHandle As Long, ByVal dwProcessId As Long) As Long Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) Private Declare Function CloseHandle Lib "kernel32" (ByVal hObject As Long) As Long Public Sub LaunchWebBrowser(Optional URL As String = vbNullString) . . . pointerPID = Shell(CallMe, vbMinimizedNoFocus) Msgbox pointerPID MyHnd = OpenProcess(SYNCHRONIZE, 0, pointerPID) Sleep 5 MsgBox MyHnd x = CloseHandle (MyHnd) MsgBox x
Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.
Connect with Certified Experts to gain insight and support on specific technology challenges including:
We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE