J
JoeO
I have posted this problem to VB newsgroup but was advised to try Access and
Outlook newsgroups...
My VB6 App opens an Access Report and generates report in PDF, and then
open/load outlook and place the generated report as attachment to outlook
once the report is closed. This is accomplished by:
Switching over to the Acrobat Printer (i.e. PDFWriter) from the default
printer.
Setting a string type sub key "PDFFilename" in the registry
"HKEY_CURRENT_USER\Software\Adobe\Acrobat PDFWriter" to store the PDF in a
user selected directory with a filename that's determined by VB codes.
Generating the PDF by issuing the command ".DoCmd.OpenReport sReport,
acViewNormal".
Closing the report by issuing the command ".DoCmd.Close acReport,
ReportName, acSaveNo".
Resetting to the default printer from Acrobat Printer "PDFWriter".
This app has worked for ages without problems. But my client recently
upgraded his system and installed a new version of Acrobat. In fact he now
uses Acrobat Distiller. Problem is the existing code no longer works. Access
generates "Report that can not be printed" error and then goes ahead to
generate unreadable txt file
Even Outlook shows "Another program is trying to access outlook address....
this might be a virus" alert. I don't want the alert to show when my app
opens Outlook. What can I do to fix these problems. Please help
Outlook newsgroups...
My VB6 App opens an Access Report and generates report in PDF, and then
open/load outlook and place the generated report as attachment to outlook
once the report is closed. This is accomplished by:
Switching over to the Acrobat Printer (i.e. PDFWriter) from the default
printer.
Setting a string type sub key "PDFFilename" in the registry
"HKEY_CURRENT_USER\Software\Adobe\Acrobat PDFWriter" to store the PDF in a
user selected directory with a filename that's determined by VB codes.
Generating the PDF by issuing the command ".DoCmd.OpenReport sReport,
acViewNormal".
Closing the report by issuing the command ".DoCmd.Close acReport,
ReportName, acSaveNo".
Resetting to the default printer from Acrobat Printer "PDFWriter".
This app has worked for ages without problems. But my client recently
upgraded his system and installed a new version of Acrobat. In fact he now
uses Acrobat Distiller. Problem is the existing code no longer works. Access
generates "Report that can not be printed" error and then goes ahead to
generate unreadable txt file
Even Outlook shows "Another program is trying to access outlook address....
this might be a virus" alert. I don't want the alert to show when my app
opens Outlook. What can I do to fix these problems. Please help