Board index » delphi » Problems Launching AVI and MPG files
Paul Linsell
![]() Delphi Developer |
Fri, 27 Jul 2001 03:00:00 GMT
Problems Launching AVI and MPG files
I'm having difficulty when trying to launch certain file types:-
I would like to give the user the ability to launch different file types in The way I have programmed it so far is by first determining the application Most of the different file types (e.g. DOC, XLS, PPT, BMP) work fine, but The FindExecutable command returns: and when I try to launch an AVI or MPG file using the WinExec with a Launch = "c:\my documents\themovie.avi" Launch = c:\WINDOWS\Rundll32.exe "c:\my documents\themovie.avi" Launch = C:\WINDOWS\Rundll32.exe c:\windows\system\Amovie.ocx,RunDll What do I need to do in order to launch an AVI or MPG file? Will this Thanks in advance. Paul. |