Difference between Err.Raise and Error.Raise in VB6 -


i supporting old vb6 application , wonder why code uses both err.raise , error.raise. both appear in validations after each database call.

we migrating application c#, , i'm trying understand subtle difference between these statements in order correctly reproduce both behaviors in c#.

i spent quite few hours searching information on error.raise, , did not find useful.

thanks,

yves

@marc right. error.raise wrong.

calling "error.raise 1234" within scope of on error goto statement branch error block err.number = 424 , err.description = "object required".

the solution becomes obvious : replace error.raise err.raise everywhere.


Comments

Popular posts from this blog

unity3d - Rotate an object to face an opposite direction -

angular - Is it possible to get native element for formControl? -

javascript - Why jQuery Select box change event is now working? -