C
Claire
Pocket Pc 2003. Visual studio .net 2003 c#.
Ive a text box. I trap the key press events to make sure only numeric chars,
"-" "." and delete key are accepted.
Ive wrapped all the code in that event handler with a try/catch block.
If the input panel is open and I sit there tapping the non accepted keys for
random lengths of time I'll receive a System.FormatException in mscorlib.dll
which shuts down my form and application.
The catch block isn't entered, so I don't believe the problem's there. I've
also removed the event altogether, and it still happens.
I wondered if it was a problem with the small "auto string" (sorry, don't
know what its called) that comes up when the user types several characters
and ppc attempts to predict the whole word.
When the error is raised it drops back to a section of code where I open the
form having the problem. I check the code stack and there's nothing listed
in there after ShowDialog().
Has anyone else had problems with this? What can I do to prevent my app
closing down? Where can i trap it?
Ive a text box. I trap the key press events to make sure only numeric chars,
"-" "." and delete key are accepted.
Ive wrapped all the code in that event handler with a try/catch block.
If the input panel is open and I sit there tapping the non accepted keys for
random lengths of time I'll receive a System.FormatException in mscorlib.dll
which shuts down my form and application.
The catch block isn't entered, so I don't believe the problem's there. I've
also removed the event altogether, and it still happens.
I wondered if it was a problem with the small "auto string" (sorry, don't
know what its called) that comes up when the user types several characters
and ppc attempts to predict the whole word.
When the error is raised it drops back to a section of code where I open the
form having the problem. I check the code stack and there's nothing listed
in there after ShowDialog().
Has anyone else had problems with this? What can I do to prevent my app
closing down? Where can i trap it?