so this is the result of the old vb6 legacy for those interested. when vb6 started, the err object appeared, which is still around, but moved to the projectdata object in vb. if someone like me remembers vb6 (it came back when dinosaurs roamed the earth), the next time there was a convenient little error call. this is if you do not like these annoying little exceptions. most vb6 programs used it abundantly and you had no exceptions because you ignored them. therefore it is explained here.
catch (exception exception1) // catch the exceptions that just occurred
{ ProjectData.SetProjectError(exception1);
// in the err object, if someone really wants to check
ProjectData.ClearProjectError();
as you can see, this completely ignores any exceptions and the true version of vb6, your code just explodes without any explanation. needless to say, if someone writes such code or uses vb in this way, I will find you and figure out a way to force you to jail.
exhausted_by_stupidity
source share