ms-office

How can I include .NET 4 Tools for Office with my Application?

↘锁芯ラ 提交于 2019-12-11 05:06:20
问题 I have created an installer for my Application, but when I run it on my Testing Machine, its says, "You must install .NET Framework v4 to continue installation." So I go to Microsoft's website and download the .Net framework and install it. However, when I re-install it, it still does not want to install. So I searched on Google for it and it says I must download .NET Framework Tools for Microsoft Office. I cannot find that, however. Where is it, and how can I include it with my Application?

Use MsiGetProductInfo to check if Microsoft Word is installed

独自空忆成欢 提交于 2019-12-11 04:53:12
问题 There is installed Microsoft Office 2013 on my PC. I'm trying to use MsiGetProductInfo to query information about that product (actually I need to check if Word is installed). But the following C++ code always returns with an error 1605 ( ERROR_UNKNOWN_PRODUCT ) which means that the product appears to be not installed, although it is present in the list of installed applications. TCHAR szVersion[20]; DWORD cchVersion = 20; LSTATUS st = MsiGetProductInfo(TEXT("{000209FF-0000-0000-C000

IFilter or SDK for many file types?

假如想象 提交于 2019-12-11 04:51:53
问题 Does anybody know of an API/SDK or IFilter in .NET that can read the subject ('title' metadata) and text from the following files: .PDF .DOC .XLS .PPT .CSV .TXT .DOCX .XLS .PPTX + the OpenOffice and Open Document standards. Open source would be awesome... but commercial is OK too. I can't find anything anywhere! 回答1: I don't think you will be able to find a single IFilter that will be able to access the contents of all of those types. Typically, an IFilter will be for a specific technology.

How to disable SaveAs in Ms word in vb.net

人走茶凉 提交于 2019-12-11 04:43:00
问题 How can i disable Save as in MS word or in any other office using vb.net? 回答1: You need to use VBA Macro to disable Save As Option. Code to disable in Excel is : Private Sub Workbook_BeforeSave (ByVal SaveAsUI As Boolean, Cancel As Boolean) 'This macro disables the "Save As" Feature in Excel 'This means that a user will not be able to save this 'workbook(file) under a different name or in a different location ' 'This MUST be placed in "ThisWorkbook" and NOT in a Module. ' If SaveAsUI = True

Is Dropbox a WOPI Host? Is the Dropbox integration also available with the desktop version of Microsoft Office applications?

徘徊边缘 提交于 2019-12-11 04:41:45
问题 I believe Office and Dropbox integration is only for Office Online and not for the desktop versions of Office. I looked up the File -> Open menu in the Winword.exe 2016 and didn't see a way to add any other place other than One Drive and Office 365 SharePoint. This leads me to believe that the One Drive and Sharepoint integration with the desktop versions are perhaps OAuth 2.0 implementations. And the Office Online and Dropbox integration is a WOPI one, Dropbox being the WOPI host? Could you

Displaying Office documents in Silverlight

本小妞迷上赌 提交于 2019-12-11 04:32:22
问题 I've got a need to display Office documents in a browser-based Silverlight application. The solution that I've got in place right now involves using Office Automation to convert the various Office docs to XPS, and then displaying the resulting XPS files in Silverlight with the FirstFloor Document Toolkit for Silverlight. This works, but it's slow, and has a fair number of moving parts. Most notably, the Office Automation piece is particularly unstable, for all the known and obvious reasons.

you do not have access to the database this time. If you proceed to make changes,you may not be able to save them later

故事扮演 提交于 2019-12-11 04:23:22
问题 i am new in ms access. Now i have to finish some modifications in ms access 2003. I am getting this error "you do not have access to the database this time. If you proceed to make changes,you may not be able to save them later". Please help me to solve this problem. 回答1: Microsoft has documented the problem, but the sugested solutions were completly unusable in most of my situations. Furthermore the issue occurs even in a split database and it occurrs inconsistently with forms and controls

How to highlight substring using LIKE operator in Excel VBA

别说谁变了你拦得住时间么 提交于 2019-12-11 04:13:43
问题 I have strings that look like this: DTTGGRKDVVNHCGKKYKDK RKDVVNHCGKKYKDKSKRAR What I want to do is to highlight the region with bold and red font. Resulting this: I tried the following code using LIKE operator in Excel VBA but it breaks at this line Set MC = .Execute(C.Text) Option Explicit Sub boldSubString() Dim R As Range, C As Range Dim MC As Object Set R = Range(Cells(2, 1), Cells(Rows.Count, 1).End(xlUp)) For Each C In R C.Font.Bold = False If C.Text Like "KK*K" Or C.Text Like "KR*R"

Extract OLE object data in Microsoft Office without OLE application

倖福魔咒の 提交于 2019-12-11 04:02:05
问题 Is it possible to extract the content of an embedded OLE object in Microsoft Office using VBA/VSTO? I am talking about a situation where the application with which the OLE object was created is not available. In this case some sort of converter application could make use of the raw data. For instance, in Excel the object is accessible via ActiveSheet.Shapes(x).OLEFormat but I have not found a way to retrieve the raw data of the object. One way would be to open the native file (Office Open XML

Odata $filter for the date in the Office 365 REST API

会有一股神秘感。 提交于 2019-12-11 03:43:30
问题 I'm trying to retrieve events for a user from its Office 365 account using the REST API but filtered by the field "Start". For instance, retrieve all the events that will happen after the date: 2014-08-29T09:13:28' but i'm always retrieving this error message { "error": { "code": "ErrorInvalidUrlQuery", "message": "The query parameter '$filter' is invalid.", "innererror": { "message": "The query parameter '$filter' is invalid.", "type": "Microsoft.Exchange.Services.OData