We use ShellExecute to open PDF files after generation. This works fine on 2000, XP and most Vista setups.
My problem is that one Vista machine opens the PDF in notepad. File associations seem correct - the user has Acrobat reader installed and can manually open PDF files. The user is not a local administrator.
Here is the code that opens the document: ShellExecute(handle, 'open', Pchar(sPDFFileName) , nil, nil, SW_SHOWNORMAL);