I have already tried asking but so far I've had no reply. My email might have gotten lost somewhere. Anyway I have found a dirty walkaround.
Basically I have to edit the registry key that controls the ObjectModelGuard. Using VB.net I set it to 0 like so*:
regvalue = My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\14.0\Outlook\Security", "ObjectModelGuard", Nothing)
If regvalue = Nothing Or regvalue = 0 Then
My.Computer.Registry.SetValue("HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\14.0\Outlook\Security", "ObjectModelGuard", 2)
End If
Easy peasy. Outlook redemption is probably safer though but I think this tiny piece of code is worth not going through all the trouble of declaring everything as safeobjects.
Regards,
Adeeb
*Note that this only works for 64 bit computers running Outlook 2010.
32 bit computers do not have the Wow6432Node so the registry key to alter will probably be
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\14.0\Outlook\Security
Also if you are not running Outlook 2010 but 2007 or earlier this key might be in 12.0 (2007) or even 11.0(I don't know what version this is)