Questions tagged [customtaskpane]
110 questions
3
votes
1 answer
Excel-DNA — Templated CustomTaskPane Exception
I'm having the weirdest issue with CustomTaskPaneFactory in Excel-DNA 0.32.
CustomTaskPaneFactory throws an exception when I create a task pane with a class (MyIntCTP) that inherits from a templated task pane (MyCTP).
Here is a example that…

lelimacon
- 87
- 1
- 9
2
votes
3 answers
How to get the Custom Task Pane Object on the Ribbon control Class
Developing a Excel vsto project, how could I handle the Custom Task Pane in the Class which is a Ribbon Control.
For example, I would like to show the Custom Task Pane when I click the button of the Ribbon Control.
Dora

user972746
- 21
- 1
- 2
2
votes
1 answer
VSTO Outlook: new Outlook apps navigation bar overlapping custom task pane
I have a custom task pane that is visible in all explorer and inspector windows. Now, the new version of Outlook adds a vertical apps navigation bar in the left side, of course, you can make it not visible if you want through the advanced Outlook…

Willy
- 9,848
- 22
- 141
- 284
2
votes
0 answers
Outlook 365 update breaks custom task pane
We have Outlook add-in that uses VSTO and custom task panes using:
Globals.ThisAddIn.CustomTaskPanes.Add
Latest Outlook updates seem to break custom task panes UI with top position:
First this issue was reported by one of our clients which used…

Sergey Belikov
- 420
- 3
- 14
2
votes
1 answer
C# VSTO Excel Addins: How can I access Ribbons Controls from the Addins ThisAddIn_Startup?
I'm designing an Excel Addins with Ribbons like this:
The Ribbon Name is Ribbon1
The Tab Name is Tab1
The ToggleButton name is tglShowNavigation
What I need is:
From the ThisAddIn.cs, in the ThisAddIn_Startup void, I would like to be able to…

Tsiry Rakotonirina
- 731
- 4
- 13
2
votes
1 answer
In Visual Studio, how to solve Button image Quality?
I am using Visual Studio 2019 to build an Excel Addin with a Custom Task Pane.
In the User Control used as Custom Task Pane, i added imlNavigation(ImageList)
I tried to generate transparent Images PNG with size [512,512] and attached it with the…

Tsiry Rakotonirina
- 731
- 4
- 13
2
votes
1 answer
How can I ensure that the "details" task pane in microsoft project vba is NOT displayed
I have an application in Microsoft project that performs a Backtrace of a task and then uses the following to save that image to an Excel Tab
Application.EditCopyPicture Object:=False, ForPrinter:=0, SelectedRows:=0, FromDate:=EarliestStart,…

dgr
- 57
- 5
2
votes
1 answer
How to set text to the textbox which is in a custom task pane through click a ribbon button?
I want to manipulate the controls in a custom task pane,like set text to a textbox which is in a custom task pane.How to change the codes below?
1.ribbon.cs ,There is a togglebutton in ribbon , can I set text to textbox in the custom task pane by…

oceansfwind
- 53
- 6
2
votes
1 answer
VSTO AddIn for Excel - How to prevent Custom Task Pane loosing focus?
I created a simple AddIn for MS Excel, but having a problem with the Custom Task Pane.
Custom Task Pane control is written in WPF, but whenever user tries to input some data to the textbox field in CTP which he previously selected with the mouse,…

Beaver
- 257
- 5
- 12
2
votes
0 answers
MS Office Shared Add-In: Why are ICustomTaskPaneConsumer.CTPFactoryAvailable and IRibbonExtensibility.GetCustomUI not called?
We're programming a shared add-in for PowerPoint and implement IRibbonExtensibility and ICustomTaskPaneConsumer in it. The add-in is registered for the individual users by setting the relevant keys and values in…

fdub
- 166
- 1
- 6
2
votes
0 answers
Word 2007 Add-in Task Pane doesn't work in one specific case
I am just starting out with a Word VSTO Add-in. I want to add a group to the ribbon, which has a button to toggle a custom task pane. I want each document to have it's own independent task pane. I have this mostly working, but there is one situation…

Ross Crawford
- 33
- 4
2
votes
2 answers
Create an instance of a class sent by parameter / Delegates
I am trying to optimize my code a bit by either using delegates or using a class instance as parameter. I am pretty new to C# and I am not yet sure which one is the better approach assuming im on the right track in the first place. But my problem…
user2140173
2
votes
1 answer
Adding a collapsible panel in outlook
I'm writing an outlook add-in and I'm looking for a way to make a panel docked on the right of my screen collapsible. At the moment the panel is either displayed or removed. You can also scale it but that's not what I'm looking for. I already tried…

Toon Casteele
- 2,479
- 15
- 25
2
votes
1 answer
Docking Custom Task Panes
I have developed two custom task pane addins to be used in Excel 2007. I set one to DockPosition = Left and the other to DockPosition = Top. This puts the Top pane all the way across the top, with the Left pane under it.
Is there a way to force the…

Gene
- 210
- 2
- 11
1
vote
0 answers
VSTO Outlook: WPF User control within custom task pane gets images and text blurry when using multiple monitors
My VSTO Add-in has a custom task pane (ctp) in the top. The ctp embeds an WPF User Control.
I have noticed that using one single monitor, if I change some display settings such as screen resolution and/or scale factor from the OS, then the images…

Willy
- 9,848
- 22
- 141
- 284