ms-office

Two open taskpanes side by side

蓝咒 提交于 2021-02-08 09:17:58
问题 I am making an Office add-in which has two ribbon buttons. Each button is linked to a different TaskpaneId, and clicking on each button opens a different taskpane: <bt:Urls> <bt:Url id="Contoso.Taskpane1.Url" DefaultValue="https://localhost:3000/addin/page1" /> <bt:Url id="Contoso.Taskpane2.Url" DefaultValue="https://localhost:3000/addin/page2" /> </bt:Urls> It seems that I have seen some Office Add-ins where two task panes can be shown side by side simultaneously (I forgot which exactly the

Adding pictures from the Web to a Powerpoint slide in VBA (MacOS)

ⅰ亾dé卋堺 提交于 2021-02-08 05:43:44
问题 I'm comfortably using VBA to iterate through a list of content in an Excel spreadsheet and creating slides in a separate Powerpoint file. That bit works. However I can't seem to add pictures to the Powerpoint presentation. I've tried: Using Shapes.AddPicture with an URL to the image. A few mention this should work; apparently it broke in some Office version (see http://www.pcreview.co.uk/forums/powerpoint-2007-vba-addpicture-web-image-problem-t3171074.html); Using Shapes.AddPicture with the

Office.context.document.getFileAsync throwing errors

只愿长相守 提交于 2021-02-07 20:10:25
问题 I am getting a very strange issue whereby when I try to extract the word document as a compressed file for processing in my MS Word Task Pane MVC app the third time, it will blow up. Here is the code: Office.context.document.getFileAsync(Office.FileType.Compressed, function (result) { if (result.status == "succeeded") { var file = result.value; file.getSliceAsync(0, function (resultSlice) { //DO SOMETHING }); } else { //TODO: Service fault handling? } }); The error code that comes up is 5001.

Office.context.document.getFileAsync throwing errors

一个人想着一个人 提交于 2021-02-07 20:07:08
问题 I am getting a very strange issue whereby when I try to extract the word document as a compressed file for processing in my MS Word Task Pane MVC app the third time, it will blow up. Here is the code: Office.context.document.getFileAsync(Office.FileType.Compressed, function (result) { if (result.status == "succeeded") { var file = result.value; file.getSliceAsync(0, function (resultSlice) { //DO SOMETHING }); } else { //TODO: Service fault handling? } }); The error code that comes up is 5001.

Office.context.document.getFileAsync throwing errors

半城伤御伤魂 提交于 2021-02-07 20:02:13
问题 I am getting a very strange issue whereby when I try to extract the word document as a compressed file for processing in my MS Word Task Pane MVC app the third time, it will blow up. Here is the code: Office.context.document.getFileAsync(Office.FileType.Compressed, function (result) { if (result.status == "succeeded") { var file = result.value; file.getSliceAsync(0, function (resultSlice) { //DO SOMETHING }); } else { //TODO: Service fault handling? } }); The error code that comes up is 5001.

Microsoft Excel Application" in dcomcnfg not exist

蹲街弑〆低调 提交于 2021-02-05 09:57:06
问题 Although office 2010 is installed on my pc there is no " Microsoft Excel Application " in dcomcnfg.. I'm not able to find it there. I reinstalled Office 2010 also, but still I couldn't find it there 回答1: To correctly configure 32-bit DCOM applications for remote activation, follow these steps: From a command line, enter the following: C:\WINDOWS\SysWOW64>mmc comexp.msc /32 You should be able to see "Microsoft Excel Application" in the list. However, if the entry is still missing after taking

Displaying iframes in Office applications embedded browser

和自甴很熟 提交于 2021-01-29 20:00:38
问题 We included Google reCaptcha v3 in a custom login page that protects SharePoint. The solution works in all browsers except the embedded browser of Office applications. We receive the following error from Word if we try to login via the embedded browser after opening a document from SharePoint: Your organization's policies are preventing us from completing this action for you. For more info, please contact your help desk. reCaptcha uses an iframe to work. This iframe looks like this: <iframe

How to use Office 365 API in a VB 6.0 application

北战南征 提交于 2021-01-29 16:32:13
问题 I am working on an application in VB 6.0. The application uses the MS Office API to interact with Office. Is it possible to use the Office 365 API in that application? If yes, how can I do that? 回答1: The Office 365 API is based on .NET, while VB 6 is not, you can use COM as a bridge: you write a C# DLL to access Office 365, then wrap it as COM component, then VB 6 can use the C# DLL via COM. But I think this approach will be problematic. VB 6 is really too too old. 来源: https://stackoverflow

Flutter Web Display Microsoft Documents Firebase

北慕城南 提交于 2021-01-29 15:45:32
问题 I am trying to embed MS Documents in a Flutter Web App. Documents are stored on Firebase Storage. I am using MS Web Viewer to display them in browser. This works without any problem: https://view.officeapps.live.com/op/embed.aspx?src=https://file-examples.com/wp-content/uploads/2017/08/file_example_PPT_250kB.ppt The following two versions where the documents are hosted on Firebase are not working: https://view.officeapps.live.com/op/embed.aspx?src=https://firebasestorage.googleapis.com/v0/b

Office server-side Automation still possible with Office 365?

强颜欢笑 提交于 2021-01-29 10:12:28
问题 I have an ASP.NET Webforms Application where the user can create reports with server-side office Automation. It basically works with FormFields that are being filled out and in the end the user gets a download with the Office document. The Application is quite old and I did not design this software. I'm also aware of the side effects of office server Automation and this article: https://support.microsoft.com/en-us/help/257757/considerations-for-server-side-automation-of-office It just works