Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I've found the solution. I had to use another object and convert the string values into hex values in order to write binary values into the registry field as below.</p> <pre><code>HKEY_CURRENT_USER = &amp;H80000001 strComputer = "." Set ObjRegistry = _ GetObject("winmgmts:{impersonationLevel = impersonate}!\\" _ &amp; strComputer &amp; "\root\default:StdRegProv") strPath = "Software\Microsoft\Office\10.0\Common\MailSettings\" Set objRegistry = _ GetObject("Winmgmts:root\default:StdRegProv") uBinary = Array(&amp;H3c,&amp;H00,&amp;H00,&amp;H00,&amp;H0f,&amp;H00,&amp;H00,&amp;He8,&amp;H00,&amp;H00,&amp;H00,&amp;H40,&amp;Hc8,&amp;H00,&amp;H00,&amp;H00,&amp;H4a,&amp;H04,&amp;H03,&amp;H00,&amp;H00,&amp;H00,&amp;H00,&amp;H00,&amp;H00,&amp;H20,&amp;H54,&amp;H72,&amp;H65,&amp;H62,&amp;H75,&amp;H63,&amp;H68,&amp;H65,&amp;H74,&amp;H20,&amp;H4d,&amp;H53,&amp;H00,&amp;H00,&amp;H00,&amp;H00,&amp;H00,&amp;H00,&amp;H00,&amp;H00,&amp;H00,&amp;H00,&amp;Hf0,&amp;Hdb,&amp;H66,&amp;H34,&amp;H2c,&amp;Heb,&amp;H13,&amp;H00,&amp;H01,&amp;H00,&amp;H00,&amp;H00) uBinaryReply = Array(&amp;H3c,&amp;H00,&amp;H00,&amp;H00,&amp;H0f,&amp;H00,&amp;H00,&amp;He8,&amp;H00,&amp;H00,&amp;H00,&amp;H00,&amp;Hc8,&amp;H00,&amp;H00,&amp;H00,&amp;Ha0,&amp;H02,&amp;H0e,&amp;H00,&amp;H00,&amp;H00,&amp;Hff,&amp;H00,&amp;H00,&amp;H20,&amp;H54,&amp;H72,&amp;H65,&amp;H62,&amp;H75,&amp;H63,&amp;H68,&amp;H65,&amp;H74,&amp;H20,&amp;H4d,&amp;H53,&amp;H00,&amp;H00,&amp;H00,&amp;H00,&amp;H00,&amp;H00,&amp;H00,&amp;H00,&amp;H00,&amp;H00,&amp;Hf0,&amp;Hdb,&amp;H66,&amp;H34,&amp;H2c,&amp;Heb,&amp;H13,&amp;H00,&amp;H01,&amp;H00,&amp;H00,&amp;H00) Return = objRegistry.SetBinaryValue(HKEY_CURRENT_USER, _ strPath, _ "ComposeFontSimple", _ uBinary) Return = objRegistry.SetBinaryValue(HKEY_CURRENT_USER, _ strPath, _ "ReplyFontSimple", _ uBinaryReply) Return = objRegistry.SetBinaryValue(HKEY_CURRENT_USER, _ strPath, _ "TextFontSimple", _ uBinary) </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload