-
Is there a way that you can get a generic error handler to get hold of the input parameters passed into a function or sub?
I would like to be able to log all inputs to any function but do not want to hard code saving the parameters as would bloat the code somewhat and make it a pain to maintain.
Many Thanks,
John.
-
Maybe you could make an addin to add code to save the method arguments, in each function, and also update them if new arguments are implemented to the functions...
-
Thanks for the info, thats what it looks like. I was hoping that there was some magic way you could access the parameters direct.
The only way that I can think of doing this other than an addin was to pass all inputs into functions as parameter arrays, but that would make very nasty code!
Thanks for the help,
John.
-
Yeah, no magic ways in vb to do that, a param array would be faster to save but "user friendly" ehm.