>My splash screen has a "Demo" button and when clicked I would like to launch what ever is on the workstation for playing my demo.avi file. Windows media player can do this. I guess I have two questions.
>
>1. How can you launch what ever .exe is associated with .avi files on the workstation? My preference.
>
>2. or how could I check the workstation for windows media player (wmplayer.exe? and if found launch it?)
>
>Dallas
You could try ShellExecute to run default AVI player:
DECLARE INTEGER ShellExecute IN SHELL32.DLL INTEGER nWinHandle,;
STRING cOperation,;
STRING cFileName,;
STRING cParameters,;
STRING cDirectory,;
INTEGER nShowWindow
ShellExecute(0, 'open', full_path_to_your_demo_avi_here , '', '', 1)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.