Outlook Security Template

G

Guest

I needed to update our VBScript code for the Outlook Security Template. Once
I saved the form I now get the "Could not load the Object because it is not
available on this machine" error message when I select the "Trusted Code Tab"

Does anyone know what might cause this? It is not the VBScript I updated
because I reverted back.
 
S

Sue Mosher [MVP-Outlook]

You need to install the Hashctl.dll that was included in the Outlook
Administrator Pack download. Note that it's needed only on machines that
manage the Outlook Security Settings folder, not on normal user machiens.
 
G

Guest

Hi Sue,

Having issues tracking down that dll. We do however have the office xp
developer toolkit, would it be in there? I installed it but can't find the DLL

Thanks in Advance
 
G

Guest

Hi Sue

Thanks for the reply. The reason I want to update the form is because we
have "_" in the vbscript portion of the form causing runtime errors when the
developer trys to add a New .dll on the "Trusted Code" Page.

VBScript Portion that is causing the Runtime error
***********************************************
Item.GetInspector.ModifiedFormPages("Trusted
Code").TrustedList.AddItem(BaseName)
Item.UserProperties.Find("TrustedCode").Value = _
Item.UserProperties.Find("TrustedCode").Value + BaseName + ":" + _
Item.GetInspector.ModifiedFormPages("Trusted
Code").HashCtl.HashFile(ComDlg.FileName) + ":"

****************************************************

The problem I have now however is I still can't get this Outlook Securty
form to work properly, even after saving the form again. The Office2003 Admin
pack did not install the DLL you meantioned.
 
S

Sue Mosher [MVP-Outlook]

Did you read the Readme in the admin pack? That has the installation
instructions.

I would advise you strongly not to edit the code on the form. There's
nothing wrong with an underscore as a line continuation character.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
G

Guest

Thanks Sue,

Got it working now. Don't know what was up with that form but it's all happy
now!

Thanks for your help!
 

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