I have been going through the net office COMAddinTaskPaneExample. I notice the following lines are added at the start of the Public Addin Class sub (.Net 4.0)
Private Shared ReadOnly _addinOfficeRegistryKey As String = "Software\Microsoft\Office\Word\AddIns\"
Private Shared ReadOnly _prodId As String = "WordAddinVB4.TaskPaneAddin"
Private Shared ReadOnly _addinFriendlyName As String = "NetOffice Sample Addin in VB"
Private Shared ReadOnly _addinDescription As String = "NetOffice Sample Addin with custom Task Pane"
Are these lines added as a result from registering the assembly with regasm utility.
Also I notice the following when building the example project:
- windows xp when I build the solution the Com addin is automatically added to word 2007 and works perfectly
- windows vista and 7 can sometimes build the solution however cannot see the Com addin added to word. Note both windows vista and 7 have bit defender installed (whether that needs to be set up to accept the building of the solutions). Not sure.
And help on the above would be great appreciated