>I tried copying the .xfdf file to an .exe and createprocess attempts to run it so that must be it...
>
>Is there any other way to run an app and wait for it to close that will use file association and not require the app to be an '.exe' file?
Tracy, try
loWshShell = CreateObject("WScript.Shell")
loWshShell.Run('MyDocument.pdf', 1, .t.)
Hugo
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges