Reading and Writing into WIN.INI with Access V8 
Author Message
 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



Tue, 31 Oct 2000 03:00:00 GMT  
 Reading and Writing into WIN.INI with Access V8

<< If in my VBA code, I try and use SETPRIVATEPROFILESTRING it chnages the
WIN95 registry and does not change my WIN.INI section. >>

Huh? Never run into this one myself. But in any case, you ought to be using
SETPROFILESTRING instead of SETPRIVATEPROFILESTRING for writing to win.ini

Hope it helps

-------
Regards  Stuart

"Time flies like an arrow,
Fruit flies like a banana"



Wed, 01 Nov 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Read/write to Win.ini

2. Read/Write INI Files w/Access 7.0

3. Qbasic: Pre-written INI read/write routines?

4. dbf read/write using access/vb (win AND dos)

5. Help! API call to write WIN.INI

6. Reading the deafult printer from WIN.INI

7. Reading Win.ini

8. Re-reading WIN.INI

9. Help, Problem getting windows to re-read win.ini

10. Reading WIN.ini statement

11. How I can read a section in win.ini

12. Ini-file, read write and empty lines.

 

 
Powered by phpBB® Forum Software