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

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

Related

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

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.

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!

Can’t find Library or Project Excel VBa

I’ve run into an issue with a couple of workbooks where the message “Can’t find library or project.”. However, when I open the VBA window to check the references, it’s non responsive (as in I can click things, but no menus appear, the project window displays the desktop, and Active X controls are non responsive).
I’m in Excel 2013. Is it possible that if the file was created in 2010 and brought over there could be issues? I’m acratching my head as this seems to happen completly at random.
Thanks guys. I managed to open the file in Safe Mode, and tried compiling the code. I believe that there was an error in the Workbook Open code that it may have been corrupting on. I deleted this, and it seems to be all good

Free Floating, Customized, Toolbox for PowerPoint 2010 and above

in order to be faster while creating slides in PowerPoint (PP) 2010 or above
I want to create a toolbox. This toolbox - that I want to be able to move around within the PP-Window as needed, from left to right, from top to bottom - will have about 30 icons. Each icon will have one function. Most fuctions are typical PP-Functions such as "Align shapes right" etc. Put some will be self programmed functions for which I will create an icon.
Here is my question: How do I best realize the toolbox (not a ribbon that only stays at the top!)? Is there a given functionality in PP 2010 or above to do so? Or what is the best way? As a newbie I don't have a clou what I'm searching for.
And second question: In a long run this toolbox - or at least the custom functions in it - should be loaded at PP start-up from a server for easier maintanance if used by many clients. what is the best way/procedure/architecture to do so?
Many many thanks.
How do I best realize the toolbox
As a UserForm. And when you .Show the user form, show it modelessly, which means it'll stay visible until you close it but won't block other operations.
In a long run this toolbox - or at least the custom functions in it - should be loaded at PP start-up from a server for easier maintanance if used by many clients. what is the best way/procedure/architecture to do so?
The best way to do this is not to do it. PowerPoint will bite you. Instead, consider creating the toolbox as a PPT add-in, installing it on each PC, then if need be, have the user's logon script check for a newer version of the add-in on the server, copy it to the local computer if so.

Adding an item to the system context menu

How do you add an item to the system context menu? I would like to let my users be able to right click anywhere and launch this program. I cannot seem to find it documented anywhere either.
Thanks for your help!
I am coding in vb.net
What you're looking for is creating a Shell Extension Handler for Windows Explorer.
Reference: http://msdn.microsoft.com/en-us/library/bb776881(VS.85).aspx
Unfortunately doing this in a .Net application is a bit of a problem due to the way in which the CLR is loaded for COM plug-in style extensions. Raymond did a great job of exploring this problem here
http://blogs.msdn.com/oldnewthing/archive/2006/12/18/1317290.aspx