|
-
December 18th, 2006, 09:21 AM
#1
VBIDE & Functions & Parameters
Hi out there,
I'm having some problems with the following:
After being sick and tired with all those weird and bad Addins for VB to implement a more advanced errorhandling, I've decided to write my own.
The concept is this:
- if an error is generated, a form pops up, the error-description, project, Module and procedure is listed, and the User can send a mail (smtp) with an errorprotocoll to the admin of the project.
- While no error is generated, a second class "collects" events, procs etc that are called. This is needed for the error-protocoll, to supply the developer with the information he needs (usually the user is not able to verify that).
Overall that works, but I have a problem concerning tha automation of that:
I need a possibility to automatically generate code with the following information:
Which arguments are passed to the method / sub / function?
I wrote an VB-Addin that automatically delivers the name and type of the method / sub / function to the collection class mentioned above.
But I'm just not able to find how to automatically specify the arguments passed
Isn't there - in the VBIDE a collection that contains the passed arguments?
something like
for each arg in args
debug.print arg.name & " " & arg.value
next
Does anyone have a clue?
have a nice day
Patzer
_____________________________
Philo will never be forgotten
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|