Write to the registry

G

Guest

I need to be able to change the WordPad PageMargins in my program. I have
found the registry key where the values are stored, but it is stored in
binary. How do i write the binary value to the registry?
 
H

Herfried K. Wagner [MVP]

Jonathan Smith said:
I need to be able to change the WordPad PageMargins in my program. I have
found the registry key where the values are stored, but it is stored in
binary. How do i write the binary value to the registry?

You can use the 'Microsoft.Win32.Registry' class for this purpose.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top