5 replies
by esupport Accepted solution
by tony hopkinson Accepted solution
is set up, exactly the same way.
Just 'execute' the avi file and windows will do the rest.
by esupport Accepted solution
I Have a tiny prog just to test with path to an exe file and an avi file. I use shell and wait. The code is exactly the same but the avi gives error Invalid Procedure call or argument. Code as follows: Works for the exe file not the avi file.
Private Sub ShellAndWait()
Dim ProcessId As Long
Dim ProcessHandle As Long
Const Access As Long = &H100000
ProcessId = Shell(gstrProgram, vbNormalFocus)
Do
ProcessHandle = OpenProcess(Access, False, ProcessId)
If ProcessHandle <> 0 Then
CloseHandle ProcessHandle
End If
DoEvents
Loop Until ProcessHandle = 0
End Sub
by tony hopkinson Accepted solution
by esupport Accepted solution
This discussion is closed to new replies.
Trending Software posts
Sort by Trending