Posts

Showing posts from July, 2014

VBScript causing Outlook to crash

VBScript is a quite old thing. But a wide range of developers still use it extensively. It's hard to debug the VBScript code, but it's harder to fix an issue. What if you even can't open the Outlook form to change code, for example,  Custom outlook 2010 form with vbscript, causing outlook to crash. is there a way to edit the code without opening the form? . The answer is simple - just hold the SHIFT key pressed when you open the problematic form with a VBScript code. It will not be launched in that case. Viola! You may find more information about VBScript in the MSDN library, see Using Visual Basic to Customize Outlook Forms . And General information about how to use VBScript with Outlook custom forms .

getSuperTip and getScreenTip callbacks are useless in case of Ribbon labels

Image
I have been asked that some callbacks don't work for the labelContol , from the predefined set of Fluent UI controls. The Customizing the 2007 Office Fluent Ribbon for Developers (Part 2 of 3) article from the MSDN library provides the following attributes for the labelControl : enabled getEnabled getLabel getScreentip getShowLabel getSupertip getVisible id idMso idQ insertAfterMso insertAfterQ insertBeforeMso insertBeforeQ label screentip showLabel supertip tag visible As you may see the getSuperTip and  getScreenTip are included in the list. But they don't play any role in case of labelControl. You will never see a screen tip or super tip even for built-in labels, for example: The "Gridlines" and "Headings"don't show tips at all. That's a good indicator that labels don't display screen or super tips. As a workaround you may use a button control where you can set the enabled attribute set to false to get it dis