OWA IE issue with Calendar Event editor and Outlook add-in - internet-explorer-11

It looks like a bug has popped up with OWA for Internet Explorer 11. If you open an add-in's task pane within the calendar event editor, then you will lose the ability to create events until you restart OWA. This issue does not occur in OWA using Edge, Chrome or Firefox.
We encountered this with our add-in but after testing concluded that it would occur with other add-ins which have a task pane for editing a calendar invite. For example it occurs when using Microsoft's "My Templates" add-in with our add-in not installed.
To reproduce the issue try the following:
Open OWA in Internet Explorer 11.
Select "Create event". The event editor opens.
Open Microsoft's "My Templates" or another add-in that has a task pane that opens in the event editor.
Close the editor window, discarding all your changes or edit and send the event.
Again select "Create event". Nothing will happen.
If you try to close IE you will get a pop-up stating "You'll lose all the changes you made."
If you choose "Leave this page" and close OWA, when you reopen it you will again be able to create events.
It appears like once the issue is triggered, selecting "Create event" opens the editor hidden or behind the main window. To support this hypothesis, you will observe one instance of the "You'll lose all the changes you made." for each time you select "Create event" after the issue is triggered.
Is this a known issue? Is there a workaround? Can others reproduce this issue with "My Templates" or other add-ins?
Thanks.

Thank you for reporting this. This is a known issue with the Add-ins platform; we are working on a solution for this and will update once the fix has been made.

Related

Outlook addin page cannot show up in F12Choosers

We build an Outlook addin and trying to test it on all platforms.
It works on IE and Edge, but not in Windows native Outlook client. The button shows up, but after clicking on it, there is a message "[Our Addin] is working on our request" keeps staying there with a spinner in front of it."
We are trying to debug it using F12Chooser.
But no matter we launch this tool before or after launching our addin, our addin page cannot show up in the chooser.
Have been searching this issue on the Internet for quite a while, but cannot find any related posts. Need some experts help.
Please let me know if I need to provide any additional information. Thanks!

VBA to choose "save" option on download on IE

I'm using VBA to open an Internet Explorer window, navigate and log into a webpage and download an Excel Spreadsheet. Every bit of the process works fine, but I can't find a way to automate the process of choosing the "save" option everytime I try to download something on IE.
Here's the code I've been using, found it here, I know I can set VBA to send Alt+S automatically, but it won't work when IE is not in focus and I just couldn't find a way on the web that works.
AppActivate "Internet Explorer"
Application.SendKeys "%{S}"
Is there another way to do it? Without Sending Keys? Or a working way to send keys?
I appreciate any help!
Observations: I'm using IE 11 and can't tinker with it's settings, because I'm not the administrator.

Visual Basic - download from WebBrowser

I'm pretty new to visual basic, but have been looking far and wide and have had no luck finding an answer to this anywhere. I've used WebBrowser to navigate to a webpage. On this page there's a link to click which will then download a csv file.
I've got my program to click this link using:
WebBrowser1.Document.GetElementById("elementID").InvokeMember("click")
But I'm not sure how to handle the 'file download' dialog box that pops up. One way, I'm thinking, is to use sendkeys to click the 'save' button, but this seems a bit clunky.
I'm wondering if I can use FileDownload somehow to handle this box before it pops up. (Microsoft's documentation says: "If a file download dialog box can be displayed, this event fires prior to the appearance of the dialog box.")
Any know if this is possible or do you have any other smart ideas for solving this problem?

Pop up created by CFUserNotificationCreate is not coming to front

This is bit tricky situation. I want to display a dialogue to the user from daemon, that dialog should come in front of all other open windows on screen. In regular cases CFUserNotificationCreate just working fine. But say open xcode from that try to open a file by using the "open window", if for some reason that window is hung, dialogue from CFUserNotificationCreate is not coming on top of such windows. Is there any solution for that/ Is there any way to display dialogue other than this.
After consulting with Apple, got to know this is a bug which exists with few applications. We had raised Apple bug ticket for the enhancement.

How can I send clicks or keys from a VB6 app to an Excel dialog box?

My employer has purchased a third-party tool, OfficeConverter from Conveter Technology that automates the conversion / repair of Office 2003-formatted files to Office 2007 format. This tool also highly automates the translation / change in macro / VBA code requirements between Office 2003 and 2007 formats.
My problem is that during this conversion the tool is opening the targeted Office product, say Excel and is then opening the target user file (ie. Report.xls) and is then examining any VBA / macro code for change requirements. The problem is that IF the Excel file code is dependent upon some external tool like an .OCX file and if that tool doesn't exist on the PC that I'm performing this action on, Excel will pop up a message that the Object has not been found, stopping the entire conversion process (thousands of files in a row) until someone comes along and MANUALLY clicks the appropriate button to close the dialogue box.
I figured that creating a small watching application in VB6 (hey, I'm old and my skills are too) could sit on the same PC and watch for these dialogue boxes and, depending on the specific message, click the appropriate button via the SendMessage API call.
The problem is that I haven't been able to get SendMessage to actually PUSH the button for me, I've tried sending it the Return key value (vbKeyReturn) or even the Space key (vbKeySpace) but the action never results in the dialogue box closing like it should. I can get the focus to tab between whichever buttons on the dialogue box are enabled, but that is about it.
I've attempted to use SendKeys, but that is far less reliable and strongly discouraged in the current documentation that I've come across.
Any suggestions? :)
If you have the hWnd for the button, and the machine is unattended, you can easily use MouseEvent to move the cursor over the button and click it. This sample includes a drop-in ready module that'll do the dirty work for you given just the window handle:
http://vb.mvps.org/samples/MouseEvent
Otherwise, the most straightforward way is probably to just send WM_LBUTTONDOWN and WM_LBUTTONUP sequentially.
EDIT: If you "just want to get it done" take Jim's advice and try Gary Chanson's Window Demon tool.
Take a look at this utility "Window Demon" by Gary Chanson
Karl: how quickly we forget our pals!
I would suggest taking a look at AutoIt.
It is perfect for this task, look for a window with a particular text on it and click a button.
Runs in the system tray as a standalone application.