Change Notepad settings from VB 6.0
I have started Notepad with the Shell function.
Is there a way to change the Page Orientation, Header & Footer
Information, and the Font from within the VB program?
Can you create an instance of or object of Notepad as you can
with MS Word? How about Wordpad?
Greatful for any advice!
Notepad or Wordpad are not com compliant
Thus you cannot instantiate them.
But you should achieve your goal reading andd changing some registry keys.
Re: Change Notepad settings from VB 6.0
You'd need to use the RegSaveKey to save keys like these. Have a look here :
Remember also changing system wide settings are usually frowned upon...