No Longer Set
  • Home
  • Topics
  • Code Library
  • Tags
  • About
Subscribe
Tagged

Convenience Functions

A collection of 6 posts

XmlWrap() Function
Code Library

XmlWrap() Function

This convenience function helps you write more readable code when building Office Ribbon-flavored XML strings.

  • Mike Wolfe
Mike Wolfe Jun 21, 2022 • 3 min read
TagWrap() Function
Code Library

TagWrap() Function

This convenience function helps you write more readable code when building strings with HTML-style opening and closing tags.

  • Mike Wolfe
Mike Wolfe Jun 20, 2022 • 1 min read
Convenience Functions (My Secret Weapon to Create Self-Commenting Code)
Convenience Functions

Convenience Functions (My Secret Weapon to Create Self-Commenting Code)

How much can you really gain by replacing one line of code with a different, functionally equivalent line of code? Quite a bit, as it turns out.

  • Mike Wolfe
Mike Wolfe Jul 8, 2021 • 4 min read
The TrySetFocus Convenience Function
Convenience Functions

The TrySetFocus Convenience Function

The TrySetFocus function attempts to set focus to a control. If the operation succeeds, it returns True; otherwise, it returns False.

  • Mike Wolfe
Mike Wolfe Jul 6, 2021 • 1 min read
Avoiding the Error "invalid reference to the property CurrentRecord"
Convenience Functions

Avoiding the Error "invalid reference to the property CurrentRecord"

Error number 2455, "You entered an expression that has an invalid reference to the property CurrentRecord," is annoying, but there is an easy fix.

  • Mike Wolfe
Mike Wolfe Jul 1, 2021 • 1 min read
Now you have two problems
Code Library

Now you have two problems

Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems. --Jamie Zawinski

  • Mike Wolfe
Mike Wolfe Nov 16, 2020 • 3 min read
No Longer Set © 2023
Powered by Ghost