Deraldo

Hi.

im trying to implement the outlook add-in presented in

http://msdn2.microsoft.com/en-us/library/ms788695.aspx

I have vs2005 sp1 professional and vsto 2005 SE installed. But in the connect.cs file, where i change the signature to

public partial class Connect : Outlook.FormRegionStartup

I am getting this error:

'InternetHeaderAddin.Connect' does not implement interface member 'Microsoft.Office.Interop.Outlook._FormRegionStartup.GetFormRegionManifest(string, int)'

Any help will be wellcome!

thx in advance



Re: Visual Studio Tools for Office Outlook add-in example

Paul Ballard

I believe you need to explicitly implement the interface in your method signatures, i.e.

public object Microsoft.Office.Interop.Outlook._FormRegionStartup.GetFormRegionManifest(string FormRegionName, int LCID)

{ ... }

Hope this helps,






Re: Visual Studio Tools for Office Outlook add-in example

Norm Estabrook - MSFT

Hello,

If you are just trying to get a basic form region up and running by using VSTO, there is a simpler walkthrough in the VSTO help collection at http://msdn2.microsoft.com/en-us/library/aa942741(VS.80).aspx.

Norm E.






Re: Visual Studio Tools for Office Outlook add-in example

TarTaryon

Thx Guys!
I appreciate your help.
I was trying to execute the example in http://msdn2.microsoft.com/en-us/library/ms788695.aspx but in the class connect.cs, when altering for formregion, it askes for two methods that were not implemented.
the getformregionicon and the getformregionmanifest. This it was the problem.
i add
public object GetFormRegionManifest(string formRegionName, int LCID)
{
}

public object GetFormRegionIcon(string formRegionName, int LCID, Outlook.OlFormRegionIcon icon)
{
}
and it was working now.
thx for you all.