![]() ![]() Microsoft Office applications can disable VSTO Add-ins that behave unexpectedly. If an application does not load your VSTO Add-in when you try to debug it, the. Dec 14, 2017 In the Add-ins box, identify the add-in that you want to enable or disable and note the Add-in type located in the Type column. Select the Add-in type in the Manage box and then click Go. Select or clear the check box for the Add-in that you want enable or disable and then click OK. To activate an Excel add-in. Click the File tab, click Options, and then click the Add-Ins category. In the Manage box, click Excel Add-ins, and then click Go. The Add-Ins dialog box appears. In the Add-Ins available box, select the check box next to the add-in that you want to activate, and then click OK. Answering my own question. It's in the registry, under HKCU Software Microsoft Office[version]> Word Resiliency DisabledItems (where [version] is 10.0 for XP, 11.0 for 2003 and 12.0 for 2007). The keys are Binary keys with names of six (random, as far as I can tell) hex characters. The value is: 01,00,00,00,x,00,00,00,y,[path],00,00,[name],00,00,00 x is the number of bytes in the path (including the two terminator bytes) and y is the number of bytes in the name (which a 'friendly name'). X+y should be the total number of bytes minus ten. X and y are both in hex. I assume that they are actually DWORDs, but I've only ever needed the LSB. The path is encoded in UCS-2, little-endian, so to give an example, 'c: ' is 00,63,00,3a,00,5c Yes, the binary encoding seems to be the awesomely brilliant encoding of 'Take a null terminated ASCII string, translate to Unicode, then take the bytes of that and null-terminate the result' Note that x and y are counts of bytes, not characters; there are 2 bytes per character in UCS-2. ![]() If you want to block a template (ie a.dot rather than a.dll) then put 00 for y and skip the name element, and the termination (so it ends with three null bytes, not five).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2018
Categories |