vsto

C# VSTO Powerpoint add Text as Field

北城以北 提交于 2021-02-19 06:10:23
问题 We are developing a VSTO application and we need this kind of feature group selected text as seen on the screenshot. We are able to do it by modifying the slide1.xml of an existing powerpoint file by changing the datatype of a:fld xml tag but question is how can we do it on runtime? When the presentation is just newly opened? Thanks for the answer. 来源: https://stackoverflow.com/questions/59266899/c-sharp-vsto-powerpoint-add-text-as-field

Windows Defender Real Time Protection Service slowing down Visual Studio etc

本秂侑毒 提交于 2021-02-18 20:59:42
问题 Since past two months or so I have been observing a strange phenomenon with the Real Time Protection Service that comes bundled in as a part of Windows Defender on Windows 10. When this service is set to ON Visual Studio builds take an excruciatingly long time to complete. Visual Studio itself takes forever to launch. Further if there are managed add-ins (written using Visual Studio Tools For Office, VSTO) installed in Outlook, Outlook takes 13-14 seconds to launch! When this service is

Internet message id differs in Sent and Inbox item when Outlook connected to Exchange in OnlineMode

筅森魡賤 提交于 2021-02-11 14:46:54
问题 When Outlook is working in online mode (not cached), interenet message id is broken during sent. When I check internet message id (PR_INTERNET_MESSAGE_ID_W) in Sent folder and for the same item in recepient's Inbox folder it is different. Sent time is also different and can differ up to 10 seconds and once it was even 10 minutes! Even in the simplest case when I sent a message to myself breaks. There is KB924213 that describing a similar issue. It is deleted by MS, but can be found here:

How can we call Invoke(Delegate) method from a Microsoft Office Add-in?

非 Y 不嫁゛ 提交于 2021-02-11 14:13:31
问题 Question : How can we use Invoke(...) method in a Microsoft Office 2010-2016 VSTO project. Or, are there any work around, alternatives etc for a VSTO project? Background : I am trying to implement a source code of a third party Windows Forms application into my Microsoft Office VSTO add-in project. The third party vendor has provided its users a sample/example as a Windows Form project with source code and has asked its users to mimic that code to their other projects (WPF, Office Solutions

How can we call Invoke(Delegate) method from a Microsoft Office Add-in?

只谈情不闲聊 提交于 2021-02-11 14:08:34
问题 Question : How can we use Invoke(...) method in a Microsoft Office 2010-2016 VSTO project. Or, are there any work around, alternatives etc for a VSTO project? Background : I am trying to implement a source code of a third party Windows Forms application into my Microsoft Office VSTO add-in project. The third party vendor has provided its users a sample/example as a Windows Form project with source code and has asked its users to mimic that code to their other projects (WPF, Office Solutions

Only get the latest reply text in an Outlook Email using VSTO and C#

心已入冬 提交于 2021-02-11 06:23:32
问题 I have gone through many links already but none of them seems to be working. My problem is that in an Outlook Add-In written using C# and VSTO, I am looking to capture the text of the latest Reply email to a thread. The problem is that all the properties on a MailItem object such as Body, HTMLBody etc give the entire text of the email including past replies. I am looking to somehow only get the most recent text. And I need to be able to do this considering multiple languages in an email. Here

How can I disable Word's built-in Ribbon Tabs when a specific document is loaded?

独自空忆成欢 提交于 2021-02-10 20:20:30
问题 I am using the following code right now: <?xml version="1.0" encoding="UTF-8"?> <customUI onLoad="Ribbon_Load" xmlns="http://schemas.microsoft.com/office/2006/01/customui"> <commands> <command idMso="Font" enabled="false"/> <command idMso="AlignLeft" enabled="false"/> <command idMso="AlignCenter" enabled="false"/> <command idMso="AlignRight" enabled="false"/> </commands> and so on, but this completely disables the buttons obviously. I now want to restrict my users from being able to use

How to mix Excel Interop with ClosedXml: styles

有些话、适合烂在心里 提交于 2021-02-10 06:54:19
问题 I am trying to achieve the following in an Excel VSTO add-in: Copying/applying cell formatting from the original version of an Excel file. Reason: while processing Excel files, we occasionally need to change the style/coloring of a file in order to be able to process certain cells only. After the file has been processed, we need to restore the original cell formats. For that purpose, I wrote a VSTO add-in. It reads the orignal file, iterates over all used cells and applies the formatting of

Custom Outlook add-in is not showing

让人想犯罪 __ 提交于 2021-02-10 03:13:27
问题 I have the outlook add-in developed with VSTO and the add-in is installed using Visual Studio Installer. After installation I can see in the outlook that the custom add-in is installed (visible in File-Option-Add-Ins and of course its allowed) but its not showing in the ribbon. When I run the project in VS I can see that the outlook is being started and it stops at the debugger. http://pastebin.com/cWrfUSa8 - this is the part when the ribbon, tab and the button is being initialized. The code

Custom Outlook add-in is not showing

随声附和 提交于 2021-02-10 03:12:27
问题 I have the outlook add-in developed with VSTO and the add-in is installed using Visual Studio Installer. After installation I can see in the outlook that the custom add-in is installed (visible in File-Option-Add-Ins and of course its allowed) but its not showing in the ribbon. When I run the project in VS I can see that the outlook is being started and it stops at the debugger. http://pastebin.com/cWrfUSa8 - this is the part when the ribbon, tab and the button is being initialized. The code