failed to grant permission and vb6 ActiveX control

S

sd

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
 

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