Hi Kevin,
>Trying this in the past, it always crashed at this part because vfp was trying to display the printing dialog box. With vfp8, I added the NODIALOG clause thinking this would suppress this and the app would run. Like I mentioned, it works great on my xp machine, but I have tried it on server2000 and win2k machines with no luck.
We got mixed reports about this, too. Some customers reported they could create PDF reports when ussing the EXE mode of AFP, other had problems. It never worked in DLLs, though.
My guess is that it's the printer driver that is causing the difference here. Maybe on Windows 2000 the IWAM_ user doesn't have access to the printer driver, to one of the required files, to the output directory, or simply displays a dialog. Aside from FILEMON, you can also enable auditing in the local security policy to find out if an authentication issue is causing the problem.
--
Christof
--
Christof