declare long FindExecutable in "shell32.dll" ; string cFile, string cDirectory, string @cResult cBuffer = space(255) nRetVal = FindExecutable("testit.doc",getenv('temp') , @cBuffer) if nRetVal < 32 messageBox("You don't have Word installed.",64,; 'File Opening Problem') return endifThe problem is that if a user has the Word Viewer installed, it will still return true; the same could be said if someone has WordPro installed....