Print to pdf programmatically, Outlook OLE access message
Date: 09/28/06
(IT Professionals) Keywords: database
anyone has any clue how to do this in a freeware manner?
I'm writing a program that will read the latest email from outlook and store it in a database blob as a pdf file.
the reading from outlook is mostly ok, except that outlook comes up with this access warning which I must figure out how to disable it
1)
""A program is trying to access e-mail addresses you have stored in outlook,
do you want to allow this?"
How can I disable this message on a permanent basis?
2)
I do have a pretty decent distiller called cutepdf printer, however, each time it prints, it comes up with saveas dialogue, ie: there is no programmatical way to specify filename and click the ok dialogue.
my question regarding point 1 and 2, is there anyway to trigger this remotely via the windows kernel api or something, getwindows or something then remotely triggering the events (using dde?)
Source: http://community.livejournal.com/itprofessionals/43841.html