>Ok it seems to work. I can't honestly say I understand that part of the code real well though. Would you care to explain it to me?
Calling ShellExecute with a file name has the same result as double-clicking on the file in the Windows Explorer. It launches an application associated with the file extension for that file.
--sb--