ms-office

“Office 2010 Add-In: Icons Gallery” - How to extract icons from backstage tab (docx)

白昼怎懂夜的黑 提交于 2019-12-03 06:53:29
问题 I downloaded "Office 2010 Add-In: Icons Gallery" that is docx file with two backstage tabs that hold icons. How can I extract the icons or use them in my application? 回答1: I use ImageMso quite frequently in my Excel development. Having stumbled on another post, I took it a step further and put a package together to visually search, extract and save icons from Microsoft Excel as a file or copy and paste (with alpha channel transparency) to another application. I also compiled a list of 8,899

VSTO 4.0 Runtime Download Missing from MS?

筅森魡賤 提交于 2019-12-03 06:26:19
We have code that checks for the presence of the VSTO 4.0 runtime and downloads it, if missing. This has worked fine until today. It seems the VSTO runtime file has gone missing from MS. Does anyone know anything about this? Can we tell our clients it's an MS problem and will be cleared up shortly? Google doesn't find any comments about the file being removed. Thanks. Note: the latest update to the VSTO Runtime (from November 2012) has merged the VSTO Runtime packages from two files (x86 and x64) to just one file. The download location has also moved. Follow this link for the latest version of

Is it possible to create an Office 2003 VSTO add-in from Visual Studio 2010?

巧了我就是萌 提交于 2019-12-03 06:14:07
We have existing VS 2008 VSTO add-ins for Word 2003 and Excel 2003. We are unable to upgrade the Office version at this time. We have just tried to upgrade our solution to VS 2010 and it converts and compiles fine, but when building and running the add-in we receive a message saying that the required version of Office is not installed. Is there any way of getting around this issue (without upgrading to Office 2007 or 2010) so that we can use VS 2010 to build this add-in? No, unfortunately it's not possible. VSTO 2010 will not compile solutions designed for Office 2003. It is designed to work

How to use Office from Visual Studio C#?

白昼怎懂夜的黑 提交于 2019-12-03 05:48:57
The technique for adding a reference to the COM interop of Office in Visual Studio is to go to: References Add Reference Select the COM tab Select Microsoft Office 11.0 Object Library And magically named reference appears: Microsoft.Office.Core The Project.csproj file shows the details of the reference: <COMReference Include="Microsoft.Office.Core"> <Guid>{2DF8D04C-5BFA-101B-BDE5-00AA0044DE52}</Guid> <VersionMajor>2</VersionMajor> <VersionMinor>3</VersionMinor> <Lcid>0</Lcid> <WrapperTool>primary</WrapperTool> <Isolated>False</Isolated> </COMReference> And the project is checked into source

Beginner sample codes for the Open XML SDK? [closed]

隐身守侯 提交于 2019-12-03 05:06:35
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I recently started working on the Open XML SDK 2.0. I would like to know if there is any better documentation (instead of open xml sdk2.0 itself) or any other resource to learn working with the Open XML SDK? 回答1: Besides everything on MSDN, the most well-known place to learn Open XML and the SDK is http:/

PHP xls, xlsx, ppt, pptx headers

隐身守侯 提交于 2019-12-03 04:42:57
问题 Here is my code where I am trying to send a correct header depedning on a type of a document. I figured out the headers for pdf, doc and docx but I still need to know correct header for Excel and Powerpoint files. Any help appreciated. $document = urldecode($_GET['document']); $extension = end(explode('.', $document)); $mimeType = ''; switch ($extension) { case 'pdf': $mimeType = 'pdf'; break; case 'doc': $mimeType = 'msword'; break; case 'docx': $mimeType = 'msword'; break; case 'xls':

How to get request digest value from provider hosted app?

半城伤御伤魂 提交于 2019-12-03 04:20:53
问题 I am developing SharePoint 2013 Provider hosted app using javascript REST Api. In order to perform create (POST), or update (MERGE) operations on sharepoint items I need to set the 'X-RequestDigest' header with the request. When in SharePoint-hosted apps I was able to use the http://contoso.sharepoint.com/SharePointHostedApp/_api/contextinfo service to retrieve the request digest value; however, I am having trouble getting that value when in a provider hosted app. The first difference of

Saving multiple Word documents as HTML through Office API

寵の児 提交于 2019-12-03 03:43:57
I have a large amount of Word documents that I need to parse. As they all were created from the same template, I think that the best approach would be to save them as HTML files and parse the HTML itself. While it's quite easy to save a single Word document as HTML, I haven't found a way to do a bulk procedure from inside Word. Thus, I'm trying to find a way to leverage the Microsoft Office/Word API to accomplish this. How can I use the Word API to save many Word documents as HTML? Thanks in advance. UPDATE: A few more details... Some of the documents are of extension .doc , while others are

Renaming Objects in PowerPoint

若如初见. 提交于 2019-12-03 01:57:38
Probably a very stupid question but I can't figure how to rename an object in PowerPoint.. For example, all my Graphs are called by default "Graph 1" etc. Could someone help me on that? Thanks! Franci Penov In PowerPoint 2007 you can do this from the Selection pane. To show the Selection pane, click on the Home tab in the ribbon, then click on Arrange and then 'Selection Pane...' at the bottom. The Selection pane will open on the right. (Or press CTRL+F10) To rename an object, first select the object and then double click on the object name in the Selection pane and you will be able to type

How do you use WiX to deploy VSTO 3.0 addins?

一个人想着一个人 提交于 2019-12-03 01:22:12
问题 I want to deploy a VSTO 3 Application Level Word 2007 addin that I've written with Visual Studio 2008. I see that WiX has an extension named WixOfficeExtension that looks like it might have this functionality, but I can't find any documentation for it, and I can't discern it's purpose from the source code. Has anyone attempted this before, and were you able to pull it off successfully? 回答1: This is the code I ended up using. I basically ported the examples from MSDN to use WiX. Note: This