Cannot create taskpane for Word - Word sample
ashishpCACTUS opened this issue · comments
Hi Jozef,
I tried using the sample '02 NetOffice Word COMAddin Sample' with 1.7.8 version. But the task pane doesnt appear.
I also looked at some changes listed here - #280 namely adding the ProgId, ComVisible, Guid to the SampleControl class.
Below is my configuration -
- Addin
[COMAddin("Word02 Sample Addin CS4", "Ribbons & Panes Addin Example", 3)]
[ProgId("Word02AddinCS4.Connect"), Guid("E7E8652F-7F9C-48E5-BC7A-7CD5375057AB")]
[CustomUI("RibbonUI.xml", true)]
[CustomPane(typeof(SamplePane), "Word CPU Usage", false, PaneDockPosition.msoCTPDockPositionRight, PaneDockPositionRestrict.msoCTPDockPositionRestrictNoChange, 100, 100)]
public class Addin : COMAddin
- SampleControl
[ComVisible(true)]
[Guid("E3D5658F-B3B7-41F5-9452-A4AD07652C44")]
[ProgId("Word02AddinCS4.SamplePane")]
public partial class SamplePane : UserControl, NetOffice.WordApi.Tools.ITaskPane
- Registered the addin
On debugging I cant see any error. It sets the visibility of the user control but nothing happens post that. Should i check error somewhere else. Or this could be a case for this #271
System configuration;
Base system - MacBook pro Apple M1 - MacOS Monterey - Version 12.3.1
Windows hosted using Parallel Desktop - 17.1.2
VS 2019 community edition
Window 11 - 22H2 OS Build 22621.1
Word - Microsoft 356 - version 2204
I would appreciate help as we would like to create word addins which are Word version agnostic and i could see NetOffice as the best option. Thanks for such a great product. Let me know if any other information needed
Hi Jozef,
Any update on this one.
Thanks,
Ashish Padhy
Hi @ashishpCACTUS, no update on this one.