How do I choose where to place my add-in button in OWA? - outlook-addin

I made my first Outlook web add-in and I was wondering how I could place the button right here automatically without going into the OWA settings by hand. Is there a way a place it here via the manifest? I tried looking up online the manifest syntax but I could not find how to do it on the official DOCS.
Here's what I mean

This is out of scope for a developer. But users can install the add-in and the add-in can be pinned to the email items for easy access.

Related

How to show add-in icon in the menu bar of Outlook for Web?

I would like to show my add-in icon in the menu bar ,like the following the red circle,  in the Outlook for Web.
How can I write manifest file to show my icon like that?
I found Script Lab, which is the add-in  produced by Microsoft, achieved that.
Unfortunately, today we only allow the add-in to be shown on the email surface at the time of install through the App Store inside of Outlook Web, or using the Customise Actions pane in Outlook. This cannot be declared inside of an Add-in manifest. If you want to raise a request for the feature you can do so on our
uservoice page. We go through the requests on our uservoice page when we go through our planning process.

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!

Is there a way to programatically enable the Microsoft Scripting Runtime when opening a PPT Presentation?

I have a PPT using VBA and it requires the Microsoft Scripting Runtime be enabled. I have some customers that are not tech savvy and may not be able to follow the instructions I placed on a banner in the opening slide to enable it. Is there a way to do it programatically when the presentation opens so they don't have to mess with it?
I hope the following link helps you:
http://blogs.msdn.com/b/cristib/archive/2012/02/29/vba-programmatically-enable-access-to-the-vba-object-model-using-macros.aspx

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.

open IE without toolbar or address bar from Windows VB Application

Shell ("explorer.exe www.google.com")
is how I'm currently opening my products ad page after successful install. However I think it would look much nicer if I could do it more like Avira does, or even a popup where there are no address bar links etc. Doing this via an inbrowser link is easy enough
<a href="http://page.com"
onClick="javascript:window.open('http://page.com','windows','width=650,height=350,toolbar=no,menubar=no,scrollbars=yes,resizable=yes,location=no,directories=no,status=no'); return false")">Link text</a>
But how would I go about adding this functionality in VB?
If you want it to look professional, you need to use an actual browser component. VB.NET comes with one. If you are using an older version of VB, you'd need to go third party. If you want to stay with a shell open, you would have to individually target the browser command-line and pass arguments to indicate that it should not have toolbars etc.
Speaking as a user, I find castrated popup windows annoying and unproductive.
So my answer is: "don't".