ms-office

Opening byte[] as a file without actually saving it as a file first

萝らか妹 提交于 2019-12-21 20:19:37
问题 What is the best way to open a Word file that was stored as a byte[] in a database? I have to store some documents in an Access database - Word files, 2003 and up - on an application that is strictly run off of a CD. Unfortunately they have to be in the database and can't be stored loose in folders. I'm storing them as an OLE object, and I can read and write them just fine as a byte[]. However, I don't know the best way of getting these documents back open in Word. Right now I'm using a

C# .NET Charts Libraries/Code? [closed]

邮差的信 提交于 2019-12-21 19:25:54
问题 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 4 years ago . I am creating some reporting software that will generate excel workbooks with charts and all related data. Besides the built in libraries and .NET Office integration features, is there any other tools or code that people found useful to creating similar projects? EDIT: I am targeting winforms. 回答1: I've used

C# .NET Charts Libraries/Code? [closed]

陌路散爱 提交于 2019-12-21 19:25:33
问题 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 4 years ago . I am creating some reporting software that will generate excel workbooks with charts and all related data. Besides the built in libraries and .NET Office integration features, is there any other tools or code that people found useful to creating similar projects? EDIT: I am targeting winforms. 回答1: I've used

Add-ins do not show up under 'Admin Managed' after deploying them to the Office 365 Admin Centre

自闭症网瘾萝莉.ら 提交于 2019-12-21 17:53:40
问题 After deploying a Word Add-in via centralised deployment, it doesn't show up in Word. We used this procedure to deploy the add-in and it lists it there succesfully. Because we were worried it may be due to something wonky with our own plugin, we then decided to try to deploy the 'Contoso Citations' plugin which is used in the same procedure and screenshots here. After capturing traffic whenever we press 'Update' under the Add-in Admin Managed dialog, we noticed a connection to Exchange. We

How to position Outlook 2007/2010 VSTO Context Menu Button?

放肆的年华 提交于 2019-12-21 17:37:03
问题 I have an Outlook 2007/2010 add-in where I have successfully added a context-menu button to the explorer. The button itself is displayed correctly and working fine however I am unable to position it above the built-in controls on the context-menu, it is always added to the bottom. I have created the same button using VSTO 3.0 for an Outlook 2003 add-in and the same code creates a button that is at the top of the context menu above the 'Open' button. My code is below void Application

Control Name for Insert tab

[亡魂溺海] 提交于 2019-12-21 12:19:43
问题 I am trying to design a workbook with some restrictions without using VBA in Excel, which is compatible in 2007 and 2010. I have chosen "Custom UI Editor For Microsoft Office" with XML code to restrict a few options:- Save-as with info tab, Insert, Delete, Move/Copy Sheet, Hide sheet, Unhide sheets. I was successful in doing so but I have noticed that insert sheet tab "ICON" is still working and is accessible. Can anyone point me to the Control Name to disable it through XML in file please?

How to parse word documents with ruby?

邮差的信 提交于 2019-12-21 07:13:50
问题 Does anyone know of a library that I can use on OS X/Linux to parse Word files and output the content as HTML? I've had a look at win32ole but as far as I can see it's for Windows only, although I could be wrong. Any suggestions? 回答1: The Word document format (ignoring docx for the moment) is terrible and was constantly changing. IMHO that is why there are so few (read: zero) Ruby libraries out there to parse them. What I recommend doing is using JRuby and some of the established Java

More C# Automating to Excel

泪湿孤枕 提交于 2019-12-21 06:01:19
问题 This launches a fresh Excel workbook: Excel.Application oXL; Excel._Workbook oWB; oXL = new Excel.Application(); oXL.Visible = true; oWB = (Excel._Workbook)(oXL.Workbooks.Add( Missing.Value )); However, what if one wants to either... -- 'GetObject' (in the familiar Automation paradigm) to a workbook that's already loaded and open on the screen?, or -- access and write data to a closed workbook by path name? Both of which are doable by old standards. Preferably the latter although I'm not a

Office 2016 add-in development in Visual studio 2013

倖福魔咒の 提交于 2019-12-21 05:46:12
问题 We need to develop add-in for the Office 2016. We are using the Visual studio 2013. It is only showing the Office 2013 add-in templates. Is it possible to create Office 2016 add-in from Visual studio 2013? If so, kindly let me know the steps. 回答1: You need VS 2015 to get the specific templates for Office 2016. VSTO only ever provides templates for "current" versions of Office. If Office 2013 is installed you can develop an Add-in for it. There should be no problem installing and running it in

Create Excel workbook in asp.net

≯℡__Kan透↙ 提交于 2019-12-21 05:42:18
问题 I need to generate an excel file for a user on the fl upon button click. I was using Netoffice before which worked fine for desktop applications. But now I want to do the same thing with an asp.net app. This way my server code doesn't have an access to the client's copy of excel. What approach should I take? 回答1: Use EPPlus. It allows you to create Excel spreadsheets on the server. I've used it and it worked great. It supports advanced functions. using (ExcelPackage pck = new ExcelPackage())