
Reading and Writing into WIN.INI with Access V8
I need some help - any ideas would be appreciated.
I have an Access V8 app that prints reports to PDF Writer. I need to
automoted the creation of these reports and need to save the PDF file by
providing the file name through code.
So far, this is what I have learnt -
I can change the section in WIN.INI file to set the file name to what I
want it to be, and the PDF file is automatically saved without using the
dialog box.
If in my VBA code, I try and use SETPRIVATEPROFILESTRING it chnages the
WIN95 registry and does not change my WIN.INI section.
I think Microsoft in the wisdom??? thought everyone would use programs
in their OS that would write to the regoistry and wouldn't need to use
WIN.INI any more.
What do I need to do to get Access to change that section in WIN.INI.
HELP!!!!
Gabriele