AutomationDirect.com has offered this code for advantage. This sample code is provided "as-is" without having expressed or implied warranty. If the end user includes any of the sample code (in entire or part), it is the user's responsibility to totally modify, combine, and test any code to ensure it meets all method and safety needs for your suppos