on 09-16-2008 4:10 PM
Hello,
we are running a process where a field is set as enable = True, a value is inserted and then is set again as Enable = False. The problem is that some times, when we want to set the field as enable true an exception ocurred. (The item is not an user defined object) so we can't set any property of it.
This problem is solved momentary by typing Ctrl - Shift - B, and setting enable the items. But is not a real solution because after a few time the exception occurred again.
So, someone knows a better solution for this problem.
Thanks. !
Ezequiel.
Hello Ezequiel,
Try to use a "Try catch"statement which you can catch the error.. and your application don't crash.
See for more info:
[http://msdn.microsoft.com/en-us/library/0yd65esw.aspx]
[http://msdn.microsoft.com/en-us/library/system.exception(VS.71).aspx]
Hope this helps...
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.