Don't know if this will help. I am a bit of a newbie.
You don't have the shellapi in your uses for the shellexecute command.
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,Dialogs, StdCtrls, ExtCtrls, shellapi, Buttons;
on a button 1 click...