No On Error Resume in C#
No On Error Resume in C#
Too bad , that means we must be enclosed by hundries and millions of Try ...Catch.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
You are correct c# does not support on error resume next. This was a decision made by the creators of C# and has nothing to do with Ranorex as the c# that you see in Ranorex is native c# and is not a scripting implementation.
There are many good reasons as to why c# does not support this, and we agree with those reasons. However, if you really need this functionality you do have a couple of options. One option is to use VB.NET as it does support the “on error resume next” construct. Or, if you need to do this in c# then this link should help. Equivalent of on error resume next in C#
Ron Keele
Ranorex Support Team
There are many good reasons as to why c# does not support this, and we agree with those reasons. However, if you really need this functionality you do have a couple of options. One option is to use VB.NET as it does support the “on error resume next” construct. Or, if you need to do this in c# then this link should help. Equivalent of on error resume next in C#
Ron Keele
Ranorex Support Team
Not good
VB.net gets not well on with pointer , so i 'd like to use c++,c#.
On error resume is like
someone falls down and get on to his/her knee , and continue his/her way. On error resume should be reserved!! Ai..
I knew on error resume is a problem of c# ,not of Ranorex. Thanks
On error resume is like
someone falls down and get on to his/her knee , and continue his/her way. On error resume should be reserved!! Ai..
I knew on error resume is a problem of c# ,not of Ranorex. Thanks