After he uninstalled Adobe 4 & 5 and installed Adobe Writer 5, Rick's class worked. CreatePDF didn't. We copied PDFMon.dll into needed directory, but I didn't have time to see the result of test. Will let you know tomorrow
>Nadya,
>
>>
>>Did you try my exact CreatePDF program without changes?
>
>yes
>
>>Can you tell me, how your Adobe Acrobat is configured? I'm guessing, that it's some difference in Adobe itself. I tried to make changes according to the link in Richard message, but it didn't help.
>
>That registry setting is used to set the default PDF file name. I don't have that registry key, because I don't need a default file name. You don't need it either...createPDF() sets the name of the file. I don't know what the bDocInfo registry key is for; I don't have it on my machine (and apparently don't need it, either).
>
>BTW, the bExecViewer registry key affects whether you get a preview (in the Acrobat viewer) after the file is created. Set it to 1 if you want the preview, or 0 (zero) if you don't.
>
>As far as other possible Acrobat Writer settings, mine are set to defaults, as far as I know. Perhaps uninstalling the Writer and reinstalling it would help.
>
>I'm also running VFP6 on a Novell Network, Client32 is installed on this machine.
>
>>
>>I've just tested it on Windows 2000 machine, it didn't work again.
>>
>>So, both CreatePDF and Rick's class are failing. I believe, I need to adjust Adobe Acrobat, but how?
>>
>>I also think, I saw similar messages here. I probably need to search UT for them...
>>
>>Adobe version is 4.05, I just checked.
>>
>>We're using Novell network and VFP6, if it makes any difference.
If it's not broken, fix it until it is.
My Blog