ms-office

Adding an additional Windows Azure AD delegated permission to an existing grant

我与影子孤独终老i 提交于 2020-01-07 07:15:07
问题 I've got an in-production Windows Azure AD App which authenticates users via OAuth2. Currently, it requests only one delegated permission - "Enable sign on and read users' profiles". I'm adding a new feature to our application which will make use of the Office 365 API(s), and this obviously requires additional delegated permissions to be requested by the App. I've updated our App manifest, and new users who give consent to our App grant both the sign-in and the Office 365 delegated

Adding an additional Windows Azure AD delegated permission to an existing grant

巧了我就是萌 提交于 2020-01-07 07:15:05
问题 I've got an in-production Windows Azure AD App which authenticates users via OAuth2. Currently, it requests only one delegated permission - "Enable sign on and read users' profiles". I'm adding a new feature to our application which will make use of the Office 365 API(s), and this obviously requires additional delegated permissions to be requested by the App. I've updated our App manifest, and new users who give consent to our App grant both the sign-in and the Office 365 delegated

Odata v.4 $filter for the DateTime Calendar Events in the Office 365 REST API

不打扰是莪最后的温柔 提交于 2020-01-06 20:15:12
问题 I am trying to get and filter Calendar events from the Office 365 REST API with the following query: https://outlook.office.com/api/v2.0/users/user@user.com/calendars/AAAAAAAAAAA/events?$top=100&$select=BodyPreview&$filter=Start ge 2016-02-10T22:00:00Z So I want 100 results with only the BodyPreview as return value for all Events greater than 2016-02-10 22:00:00. The Error Message I receive is this one: ERROR request returned 400 error: code: 'RequestBroker-ParseUri', message: 'A binary

Retrieving an access token with admin consent : how access the data of all the users of the organization?

一笑奈何 提交于 2020-01-06 08:49:17
问题 In my third-party web application of Office 365, I want to have access to the contacts, events and emails of all the users from the organizations who installed my app. The thing is I don't want that all these users have to grant me access, I just want one admin of the org to grant access for my app and then be able to retrieve the data I need for all the users. To test for one organization, I logged in as the admin and proceed to the Oauth2 authentication to retrieve the access token and in

Change selected automatic numbered list to plain text in word

妖精的绣舞 提交于 2020-01-06 03:52:07
问题 I need to create a macro that will convert some automatically numbered lists to plain text. I found this macro below which will do the whole document perfectly, however I wish to keep the document titles etc still numbered automatically and just change the numbered list of requirements in the document to plain text. Sub Auto_Format_convert_list_numbers() ' ' convert_list_numbers Macro ' Macro created 10/8/08 by WJ Shack ' ActiveDocument.ConvertNumbersToText End Sub My thoughts on the subject

programmatically inserting hidden text into a Word 2010 table

假装没事ソ 提交于 2020-01-05 12:31:06
问题 I have a Word 2010 table with existing, visible text in it. I want to use some VBA code to insert some text into each cell and then hide the new text. I know how to insert text into a cell using VBA, I just can't figure out how to leave the existing text in the cell visible and only hide the new text. I tried this, but it doesn't quite work: For Each aTable In ActiveDocument.Tables Rows = aTable.Rows.Count Cols = aTable.Columns.Count Dim rng As Range For r = 1 To Rows For c = 1 To Cols

programmatically inserting hidden text into a Word 2010 table

前提是你 提交于 2020-01-05 12:30:28
问题 I have a Word 2010 table with existing, visible text in it. I want to use some VBA code to insert some text into each cell and then hide the new text. I know how to insert text into a cell using VBA, I just can't figure out how to leave the existing text in the cell visible and only hide the new text. I tried this, but it doesn't quite work: For Each aTable In ActiveDocument.Tables Rows = aTable.Rows.Count Cols = aTable.Columns.Count Dim rng As Range For r = 1 To Rows For c = 1 To Cols

“There is insufficient memory. Save the document now.” error while opening word 2003 document

ⅰ亾dé卋堺 提交于 2020-01-05 10:34:29
问题 I have developed one windows service through which I am trying to open an word document. But when service tries to open document, it logs following error "There is insufficient memory. Save the document now." If I run the same program as normal windows application, it works fine but problem comes only when I try to run the program as windows service. I tried to google this problem, but there arent many answers about this problem. Is there any way to increase the memory limit for windows

Office.js Apps: Excel cannot find the home.html file

徘徊边缘 提交于 2020-01-05 09:26:16
问题 I'm trying to learn how to write Office.js apps. I did use the example given here. Manifest file, QuarterlySalesReportManifest.xml, I did change the value of SourceLocation element to "\MY-PC\MySharedApp" which is the location of the "home.html". I also placed QuarterlySalesReportManifest.xml in another folder, "\MY-PC\MyManifest" and added this folder as a share location that contains the manifest as a trusted app catalog in Excel. When I try to run the app from Excel it seem the

How Do I Bypass MS Access Startup When Using OLE?

隐身守侯 提交于 2020-01-05 05:20:08
问题 I am trying to do an automated xml export from an access database using C# and OLE. Everything is working perfectly except that the startup form is shown and won't close without user intervention. Here's what I am doing so far: objAccess = CreateObject("Access.Application"); objAccess.OpenCurrentDatabase("C:\\MYDB.mdb", true); //true = open in exclusive mode objAccess.ExportXML(0, "TestTable", "c:\\test.xml"); objAccess.CloseCurrentDatabase(); objAccess.Quit(); 回答1: As far as I know the only