office-addins

PowerPoint Shapes.AddOLEObject Throws Error HRESULT E_FAIL

末鹿安然 提交于 2019-12-25 03:22:03
问题 Following the guidelines from this link, I've wrapped a user control as an ActiveX component. Build the code successfully, and I can confirm that the COM component is registered in Windows registry. Class name mentioned in registry is "MyChartsControl.UserControl1". After that I try to add my ActiveX Wrapped user control in PowerPoint Slide object using following code: powerpointSlideObject.Shapes.AddOLEObject(100, 100, 111, 222, ClassName:="MeridiaChartsControl.UserControl1") OR using the

current code not extracting email headers for content-type

﹥>﹥吖頭↗ 提交于 2019-12-25 01:39:03
问题 I use code from this link to get email headers from outlook. But, it is not extracting email body(content-type) correctly. Everything works fine. If you want to compare, you can open gmail, see options for gmail and click 'show original' which shows headers correctly. Providing code from above link: using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using Microsoft.Office.Interop.Outlook; public static class MailItemExtensions { private const string

Developing a custom ribbon add-in for PowerPoint (Office 365) Mac

北城余情 提交于 2019-12-25 01:29:42
问题 I have recently switched to Mac from my Windows work laptop where I had some nice features installed via PowerPoint add-ins that I would like to replicate. I have all my macros working, and I am now trying to turn them into a working add-in that I can load on my machine. Now, before we get to the tricky part of signing the add-in and bla bla bla.. I am starting really simple (pptm file with custom toolbar). I have followed ron de bruin's amazing guide. However, when I launch my presentation

Is there a way to make my add-in run and show in people level not mail item

耗尽温柔 提交于 2019-12-24 18:51:40
问题 I want to make add-in that show button in contact form to show user email and phone number in task pane , is that available with current web add-in api ? And how to make it because i can't found any demo or document for that 回答1: No, the current web add-in specification supports only two item types in Outlook Message Appointment Using the web add-in infrastructure for Outlook, it is not possible to show a button in contact form. 来源: https://stackoverflow.com/questions/51082192/is-there-a-way

Difficulties debugging add-in

不羁岁月 提交于 2019-12-24 14:08:38
问题 I'm using Atom as an editor (I really dislike Visual Studio) to develop an Excel add-in. The project was generated using yo office , and I followed the contents of this page to get started (I'm using React). I added a console.log to check the contents of a variable but couldn't find the output, so I searched and found this question, with the suggestion to attach a VS debugger. MS has some documentation on how to do that here. However, after doing that, not only do I not see the contents of

Office Javascript API: MS Project identify parent task id and sub task id

孤人 提交于 2019-12-24 07:38:23
问题 I am working on building MS Project Web Add-in. Using the below function as a base with other functions I am able to retrieve the task, id and resource name . // Get the maximum task index, and then get the task GUIDs. async getTasks(guids: string[]): Promise<any[]> { return await Promise.all( guids.map(async guid => await this.getTask(guid)) ); } async getTaskGuids(maxIndex: number): Promise<string[]> { const guids = []; for (let i = 0; i <= maxIndex; i++) { guids.push(await this.getTaskGuid

How to see excel API results, custom functions in excel sheet(cell) through Script Lab, instead of console log?

被刻印的时光 ゝ 提交于 2019-12-24 07:35:50
问题 I am using Script lab in office 365 and facing difficulty in writing a function which fetches data from API(url). I need help in merging the below code with custom function in Java Script. from the below code that I am able to get API results in script lab console but I want final results in excel screen(cell). Currently I can see all the ticker.name instead of specific. var request = new XMLHttpRequest(); request.open("GET", "https://api.coinmarketcap.com/v1/ticker/", true); request.onload =

Add button to Outlook 2010 in C#

≡放荡痞女 提交于 2019-12-24 07:03:42
问题 I need to add some UI functionality to Outlook 2010 via C#. I already know how to add a simple button, like Unread/Read using Ribbon XML. Now, what I need is to add a button like "Categorize" which has a small menu with several options. When the user clicks one of the options, I want to open a corresponding form to fill out. Two questions: How do I add this more advanced button? Is there any internet resource that explains this stuff? (So far, I could find only a walk-through for a simple

Start Word without Add Ins

陌路散爱 提交于 2019-12-24 01:15:49
问题 Is there any way to start MS Word ( only this instance ) without Add Ins? I only find a way to disable the Add Ins complete. 回答1: From the Word command line switches documentation, you can use the /a switch to "prevent add-ins and global templates from being loaded automatically.": "C:\Program Files\Microsoft Office\Office\Winword.exe" /a You could also start Word in Safe Mode with the /safe switch: "C:\Program Files\Microsoft Office\Office\Winword.exe" /safe 来源: https://stackoverflow.com

Start Word without Add Ins

孤街浪徒 提交于 2019-12-24 01:14:08
问题 Is there any way to start MS Word ( only this instance ) without Add Ins? I only find a way to disable the Add Ins complete. 回答1: From the Word command line switches documentation, you can use the /a switch to "prevent add-ins and global templates from being loaded automatically.": "C:\Program Files\Microsoft Office\Office\Winword.exe" /a You could also start Word in Safe Mode with the /safe switch: "C:\Program Files\Microsoft Office\Office\Winword.exe" /safe 来源: https://stackoverflow.com