Debug-Print shows that I have saved the value for lfFaceName as Arial Black, but RegEdit still shows the Notepad lfFaceName as Courier New so Notepad still comes up with Courier New.

Where did the change get saved?

From my program, how can I:
1.) Change the Page Orientation from Portrait to Landscape?
2.) Remove the values stored in Page Header and Footer?
3.) Change the Top and Left margins?

Again, Thanks for getting me on the right track with the Registry,
if you could help me resolve these problems I would greatly appreciate it, or point me to a resource which will guide me through this.

Richard

March 17th, 2004, 05:23 AM

Cimperiali

savesettings...

Savesettings is not the way to write where you need, as it adds keys and value under....\vba....
take a look here

..... Links removed .... Domain redirects ....

January 9th, 2013, 01:12 PM

Twindad97

Re: savesettings...

Quote:

Originally Posted by Cimperiali

Savesettings is not the way to write where you need, as it adds keys and value under....\vba....
take a look here

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Just as an FYI, this web site takes you to a PORN SITE.

January 10th, 2013, 01:46 AM

GremlinSA

Re: savesettings...

Quote:

Originally Posted by Twindad97

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Just as an FYI, this web site takes you to a PORN SITE.

Thanks...

Taken care of the links...

January 11th, 2013, 07:30 AM

HanneSThEGreaT

Re: Change Notepad settings from VB 6.0

You'd need to use the RegSaveKey to save keys like these. Have a look here :