failed to grant permission and vb6 ActiveX control

Tech-Archive recommends: Fix windows errors by optimizing your registry



hello all
I've VSTO Addin for Outlook 2007.I've placed custom ActiveX control
built
in vb6 (say CTlRegion) on form region & added that ofs file to my
project.
I need to set the properties of CtlRegion when form region
is shown as well as access these custom properties in VSTO addin.I've
added refernce
to this CtlRegion in VSTO addin & was able to access & set custom
properties
of CtlRegion.The form region is shown as adjoining in read and compose
msg window.
When I made setup of this addin & run it on other m/c I got the
following error-
Error in BeforeFormRegionShow- could not load file or assembly
'Interop.FormRegion,
or one of dependencies.Failed to grant permission to execute
I've added setsecurity project to my solution to grant full
permission,
still getting this error.

Thanks
-sd

.



Relevant Pages

  • Re: Reply using a custom form
    ... Or are you creating messages with a custom message class and letting a form region do al lthe work? ... If I don't use a custom form and a custom message class, ... distinguish between which messages are of one type (and should display ...
    (microsoft.public.office.developer.outlook.forms)
  • Re: Invoke custom Form Region from a click event
    ... I have created a custom form region in VS2008 using the form region ... The above code does display a Mail Item Inspector, ...
    (microsoft.public.outlook.program_forms)
  • Re: Programming Outlook 2007
    ... If you want your custom interface to be displayed in the preview pane, you must use a custom form region: ... Eric Legault [MVP - Outlook] ... When a message contains these I would like to have a clickable button in the preview pane as well have some additional buttons added to the Message tab when the message is viewed. ...
    (microsoft.public.office.developer.outlook.forms)
  • Re: Invoke custom Form Region from a click event
    ... Use the CreateItemFromTemplatemethod to create your custom form or use the Items.Addmethod on the Items collection of the folder where you want to add it. ... I have created a custom form region in VS2008 using the form region wizard. ... The above code does display a Mail Item Inspector, ...
    (microsoft.public.outlook.program_forms)
  • Re: UserProperties
    ... If you implement a form region that contains an unbound control, the UserProperties collection will not be valid in the GetFormRegionStorage event when the item is first opened. ... number of custom properties. ... When a user creates a new appointment the ...
    (microsoft.public.office.developer.outlook.forms)