Error message "Unhandled exception has occurred in a component in your application" in PSoC Creator

Question: I am getting the following error message, while clicking on the "file" tab. See the attached screen shot for details (Unhandled_exception.jpg).  Error message:-Unhandled exception has occurred in a component in your application. If you click Continue, the application will ignore this error and attempt to continue. Value '0'  is not a valid value for interval. Internal must be greater than 0.  Parameter name: Interval

 

Answer:

Change the MouseHoverTime and MenuShowDelay to a non-zero value.

A. Check if the mouse hover time (in Windows) is set to 0? This is usually done with a tool like TweakUI or some other tool that lets the user change Windows settings. 

Steps to check hover timer, follow the below given steps: 
1. Go to http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx 
2. Under download section on the extreme right side download TweakUI.exe. 
3. Install this software by running the exe file. 
4. Open this software from the "Start" , under Mouse, change the hover time to a non zero value eg. 1000mS. Check the attached screen shot(mouse hover time.jpg). 

 

B. Also, make sure the MenuShowDelay is greater than zero. To change it, follow the below given steps

1. Open Command Prompt (CMD). Type regedit->Enter 
2. Go to HKEY_CURRENT_USER\Control Panel\Desktop\MenuShowDelay(see attached screen shot regedit_mouse.jpg).
3. Change the MenuShowDelay to a non zero value. Lets say 400mS. 
4. Restart the computer for the change to take effect.