Sitemap

Amicuk Programming Answers

FilePrint not working in Office 2013

2015-10-11   Views:0

Advertisement

Hi, we are trying to override the idmso FilePrint command in the ribbon. This works fine in Word/Excel/PPT 2007 and 2010 but not in 2013. Is there any bug in 2013 or did the command name change? Strangely office doesn't throw any errors but the funct

Hi,
we are trying to override the idmso FilePrint command in the ribbon. This works fine in Word/Excel/PPT 2007 and 2010 but not in 2013.
Is there any bug in 2013 or did the command name change? Strangely office doesn't throw any errors but the function doesn't get called when I go to File -> Print and click the print button.
<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui" onLoad="Ribbon_Load">
<commands>
<command idMso="FilePrint" onAction="OnFilePrint"/>
</commands>
public void OnFilePrint(IRibbonControl control, ref bool CancelDefault)
MessageBox.Show("Hello World");
Any ideas?
Thank you very much.
Best regards
Mark
Regards Mark

The replay answer
Advertisement
Hello Mark,
I suppose you are talking about the Print command shown on the screenshot:
The fact is that you are trying to repurpose the backstage controls.
It is not possible to override these commands from the custom UI XML markup or by using the object model.
A better solution would be to consider hiding the built-in UI and rebuilding it fully with custom commands.
See
Introduction to the Office 2010 Backstage View for Developers and
Customizing the Office 2010 Backstage View for Developers for more information.

Go to See the other 4 answers

FilePrint not working in Office 2013

Category:DefaultRelease time:2015-10-11Views:130

Hi, we are trying to override the idmso FilePrint command in the ribbon. This works fine in Word/Excel/PPT 2007 and 2010 but not in 2013. Is there any bug in 2013 or did the command name change? Strangely office doesn't throw any errors but the funct[More]

Is ms office 2013 supported for report generation​? Error 41106

Category:DefaultRelease time:2015-10-11Views:130

Hi I have a copy of LV full development suite with the Excel and Word report generation toolkit added. I have recently changed to using Office 365 that includes offline versions of Excel and Word from Office '13. When using the report generation tool[More]

Office 2013 (Mainly Outlook) Ribbon Menu Display Error

Category:DefaultRelease time:2015-10-11Views:130

So i have created a MDT System Image for deploying Windows across our Business we are currently using Windows 8.1 32/64Bit Office 2013 SP1 now i have recently updated the image simply to install the latest load of Windows Updates so we are not instal[More]

Office 2013 app-v packages

Category:DefaultRelease time:2015-10-11Views:130

In this article, http://blogs.windows.com/itpro/2013/12/02/announcing-mdop-2013-r2/   I see mention of an Office version called "Office 2013 ProPlus App-V Package".    Is this a download?  I don't see it available as one when I login to my VLSC[More]

Office 2013 - Incorrect Icons In Taskbar When Apps Running

Category:DefaultRelease time:2015-10-11Views:130

Hi, I have a a strange issue relating to Office 2013 (all apps in suite) in our school based Windows 7 domain environment. When students login and run any app from the office suite they launch correctly and are able to be used.  However the icon that[More]

Office 2013 - Is there a way to when installing that you can change the default save location without having to configure it within the client?

Category:DefaultRelease time:2015-10-11Views:130

So, What I am trying to do is deploy Office 2013 throughout our company, and I do not want the users to save their business or personal files created within Office 2013 on the C: drive or Sky Drive. We have what is called the U: drive and I'd like to[More]

Office 2013 - OSD - Specify different config xml

Category:DefaultRelease time:2015-10-11Views:130

Hi Guys I want to deploy Office 2013 in different languages to different users. It seems there are a few ways to do this. But I am thinking I want to package all languages I need into one Office install package and then in the task sequence have grou[More]

Office 2013: where the heck are the security updates hiding?

Category:DefaultRelease time:2015-10-11Views:130

I built a deployment for Office 2013 yesterday.  The source files were downloaded from Microsoft, with SP1 integrated.  This is *not* a "Click to Run" deployment.  I used the Office Customization Tool to make a few changes (we're not using OneDr[More]

Office 2013 simply refuses to update templates

Category:DefaultRelease time:2015-10-11Views:130

Hi All, Was wondering if you could help as i'm really getting thin on ideas now. I've been working with Azure RMS for a couple of weeks with no problem but all of a sudden I can't get Office 2013 to update the custom templates I've been creating on m[More]

Office 2013 VL App-V 5 packages

Category:DefaultRelease time:2015-10-11Views:130

Hi, We are currently assessing the possibility of deploying Office 2013 as an App-V package since support for VL was announced with MDOP 2013 R2.  I would like to create three independent packages: Office 2013 Project 2013 Visio 2013.  I have success[More]

Office 2013 Std (local) in combination with Office 2013 Pro (App-V)

Category:DefaultRelease time:2015-10-11Views:130

Hello, I have multiple RDS servers, that have Office 2013 Std installed locally. I did this on purpose, after reading some blogs pointing out Office 2013 is a complicated applicatie to stream well. And of course Office 2013 is highly critical to my[More]

Hot
Hi Friends, I have a requirement of passing multiple values (Operating Unit Names) to the parameter(P_Opr_Unit) in Discoverer. I am using PL/SQL function to get the data in Discoverer.Function is working fine for multiple values from Database(SQL Dev [More]
I have just installed CSA MC 6.0.2.  My company has a bunch of customer's that are on different domains.  We are all linked through VPN tunnels and would like to have all the agents point to a specific URL for updates rather than the hostname of the [More]
Friends, 9.0.1,10.2.0.1 CAn the non-english characters be displayed in sqlplus prompt? I have to print the data with some hindi charcaters like name from the report generated via proc. What is teh workaround for this? ThanksHi, I have RH Linux 7.3. H [More]
How can I copy/transfer iTunes content from my old computer to the new one, considering that for some reason Target Mode and Migration Assistant doesn't work for me ? I don't need the application itself (it comes with the new computer) but just the c [More]
Have they came out with a patch to adjust system wide font sizes?Have they came out with a patch to adjust system wide font sizes? Not to my knowledge. One way of changing the size of the text is to alter the resolution. Admittedly it's a less than p [More]
I've replicated the "Auto Suggest" sample that's included in the Spry download. I've got about fifty listings on my version of the XML file. When the URL with the Auto Suggest is visited, I noticed it takes a long time to process (ie, downloadin [More]
i read the previous post, and i can understand u not helping with stolen music, but i have simple videos taken with my digital camera of my friends and i...and when i convert them with quicktime pro 7, theres no sound! whats up with that?! 60 gig vid [More]
I am trying to export some voiceovers as MP3, but it keeps exporting the entire timeline instead of just the cropped area (cycle region). If I export as WAV or AIF, the export is restricted to the cycle region, which I want. So for now I have to expo [More]
OI QUERO BAIXAR O PHOTOSHOP MAS NO CAMINHO SAI UMA MENSAJEM ASSIM [email protected]@[email protected]@SAXXZ POR FAVOR ME AJUDEMMarleny, Desculpe, mas você tenha postado em um fórum que trata exclusivamente de questões / problemas sobre o Microsoft Project, u [More]
All, I have successfully exported the outline definition using   export outline UK.Wrkforce all dimensions to xml_file 'D:\Daily_Backups\UKWrkforceOTL.xml'; How can I use the resultant xml file ('D:\Daily_Backups\UKWrkforceOTL.xml') to rebuild the hi [More]