Hi,

If I for example have a file called class1.vb with some subs and functions inside.

1. I call another class called class2 from class1 and get an error in this class, how can I get the name of the file class1.vb?

2. How can I get the name of the file class1.vb from code if i haven't any error?

Best regards,
Thomas