My program raises an unhandled exception when it runs as an .exe, but compiles and runs without error in the VS2010 environment. The exception does not occur every time I run the program.

Here is the error message...

Name:  4-27-2016 5-58-38 AM.jpg
Views: 654
Size:  16.5 KB

Since it does not fail in the VS2010 environment I'm not sure how to find/trap/fix this error.

(FWIW this code was originally developed on a Win7Pro machine and has been running without problems for a couple of years. This error is now occurring on a Win10Pro machine.)

Appreciate any advice or direction on this issue.