RGuillermo
asked on
visual basic 2013 System.nullreferenceException How to catch a nothing ?
Hello Experts,
my programs opens a site and operates it perfectly only after some five or six good executions it shows the error message shown in the image.
some times the site is faster sending the data and some times its slower, I gues this creates the probem and sometimes the variable v3 is nothing.... until the next iteration.... so how can I catch a "nothing" without getting an error message ?
Best regards.
system-nulreferenceException.jpg
my programs opens a site and operates it perfectly only after some five or six good executions it shows the error message shown in the image.
some times the site is faster sending the data and some times its slower, I gues this creates the probem and sometimes the variable v3 is nothing.... until the next iteration.... so how can I catch a "nothing" without getting an error message ?
Best regards.
system-nulreferenceException.jpg
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Not a problem rguillermo, glad to help.
ASKER
If v3.activeElement Is Nothing
Worked perfectly!
Thank you very much!!