vsto

Why am I getting “Unable to find manifest signing certificate in the certificate store” in my Excel Addin?

时光怂恿深爱的人放手 提交于 2019-12-17 17:25:23
问题 I've got an Excel add-in project that was created a couple years back in Visual Studio 2008. It's got some changes to be made so I've upgraded to Visual Studio 2010 (the only IDE I am able to use). Not sure if this is causing the problem but it's background information. When I check out the code and compile it I get the error, "Error 1 Unable to find manifest signing certificate in the certificate store." Can anyone tell me what this means and how to fix it? 回答1: You need to re-add that

Detecting text changes in Word 2016 from VSTO add-in

穿精又带淫゛_ 提交于 2019-12-17 10:46:19
问题 This question is very closely related to How to get the “KeyPress” event from a Word 2010 Addin (developed in C#)? (and in fact includes the sample code from the answer to that question), but this is specifically about developing in Visual Studio (Professional) 2015 for Word 2016 running in Windows 10. I’m trying to detect when text changes in a Word document from a VSTO add-in. I understand from How to get the “KeyPress” event from a Word 2010 Addin (developed in C#)? (Nov 14, 2011)

Excel error HRESULT: 0x800A03EC while trying to get range with cell's name

眉间皱痕 提交于 2019-12-17 06:52:31
问题 I am working with Window Service project. that have to write data to a sheet in Excel file in a sequence times. But sometimes, just sometimes, the service throw out the exception "Exception from HRESULT: 0x800A03EC" while it's trying to get range with cell's name. I have put the code of opening excel sheet, and getting cell here. OS: window server 2003 Office: Microsoft Office 2003 sp2 1: Opening excel sheet m_WorkBook = m_WorkBooks.Open(this.FilePath, 0, false, 5, "", "", true, Excels

BUG: Can't choose dates on a DatePicker that fall outside a floating VSTO Add-In

a 夏天 提交于 2019-12-17 06:51:33
问题 I logged the issue with Microsoft here - the Repro is available for download: https://connect.microsoft.com/VisualStudio/feedback/details/741454/value-change-event-doesnt-fire-for-datetimepicker-controls-used-in-vsto-add-ins If you put a DateTimePicker in a Excel VSTO floating Add-In and position it so when the calendar drops down, it is outside the edge of the add-in, see here: Choosing any of the dates circled in the green works as expected, but when clicking any dates circled in red, it

BUG: Can't choose dates on a DatePicker that fall outside a floating VSTO Add-In

隐身守侯 提交于 2019-12-17 06:51:17
问题 I logged the issue with Microsoft here - the Repro is available for download: https://connect.microsoft.com/VisualStudio/feedback/details/741454/value-change-event-doesnt-fire-for-datetimepicker-controls-used-in-vsto-add-ins If you put a DateTimePicker in a Excel VSTO floating Add-In and position it so when the calendar drops down, it is outside the edge of the add-in, see here: Choosing any of the dates circled in the green works as expected, but when clicking any dates circled in red, it

How to reference Microsoft.Office.Interop.Excel dll?

☆樱花仙子☆ 提交于 2019-12-17 04:59:21
问题 I had developed a system that deals with excel sheets in 2006 using MS VS 2005. Now, I can not use the same reference with MS VS 2012. var app = new Microsoft.Office.Interop.Excel.Application(); Workbooks wbs = app.Workbooks; 回答1: Use NuGet (VS 2013+): The easiest way in any recent version of Visual Studio is to just use the NuGet package manager. (Even VS2013, with the NuGet Package Manager for Visual Studio 2013 extension.) Right-click on "References" and choose "Manage NuGet Packages..." ,

How to troubleshoot a VSTO addin that does not load?

拟墨画扇 提交于 2019-12-16 21:19:25
问题 My VSTO Outlook Add-in suddenly stopped working on one customer machine (it does not load, no error message) and I'm stuck with troubleshooting. The machine is Windows 7 x86, Outlook 2007. The add-in is written with Visual Studio 2008 and uses VSTO 2005 with the 2003 PIAs (because we need to support Outlook 2003 as well). It works perfectly fine on other machines. Here's what I tried to get useful troubleshooting output: Add the VSTO_SUPPRESSDISPLAYALERTS environment variable (set to 0).

How to create InstallShield Setup of VSTO (COM) Addin for Excel using Installshield 2008

走远了吗. 提交于 2019-12-14 04:17:43
问题 I have created a com addIn in Visual Studio Tools for Office (VSTO) for Excel 2010 and I want to create a single exe setup file for end user. I have googled this issue but all I can find are the solutions using Visual studio. I want to create setup with Installshield program. 回答1: The process is described here in details for InstallShield Limited Edition (it should be very similar to Installshield 2008). It is a standard installation procedure except for 2 important points : You must ensure

How to save options of a VSTO add-in in the currently open file?

若如初见. 提交于 2019-12-14 03:53:47
问题 I'm building a VSTO add-in for Powerpoint 2010 and the options the add-in sets apply to the currently open file instead of a per-user config. Can I save these options in the current file (I mean, add custom XML to the .PPTX file)? If so, how? Thanks for your help. 回答1: If your Options are not too complex, I would go for Document Custom Properties. The following question illustrates how to use Custom Properties with Excel, they are supported in PowerPoint as well so this should provide a good

Warmup setting for addins in Office 2013

↘锁芯ラ 提交于 2019-12-14 03:20:16
问题 I've noticed that the Warmup entry is removed in the Office 2013 version of this article. Does that mean that Office 2013 no longer supports it? If so, how one can keep .Net add-ins from being disabled because of long loading times? 回答1: Now the HKCU\Software\Policies\Microsoft\Office\15.0\Outlook\Resiliency\AddinList hive allows to specify which add-ins are always enabled, always disabled (blocked), or configurable by the user. Outlook 2013 monitors add-in performance metrics such as add-in