|
-
Jan 23rd, 2003, 12:27 AM
#1
Thread Starter
Registered User
SyncShell in .net
does any one know the equivalent of :
Public Sub SyncShell(PathName, Optional WindowStyle As VbAppWinStyle = vbMinimizedFocus)
Dim dwProcessID As Long, hProcess As Long
dwProcessID = Shell(PathName, WindowStyle)
hProcess = OpenProcess(PROCESS_ALL_ACCESS, False, dwProcessID)
If hProcess = 0 Then Exit Sub
Do
DoEvents
Loop While WaitForSingleObject(hProcess, 0) = STATUS_TIMEOUT
End Sub
in .net.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|