Programmatically Differentiate Between Design Mode and Run Time
This code enables and/or disables functions during design andtesting. The code can remain during initial deployment withoutaffecting the end user. Make sure the path string being searchedis part of your