Re: diff b/w executing a file & Associating the file
I think you can debug from qtp directly when u associate a library file, i.e. it opens in qtp and the flow can be monitored. The error if happens to appears in the function, the error line number is displayed i.e. the line which has the error.
If u use execute file, then u might use an on error resume next, debug using the error handling mechanisms. The debugging is difficult and the error line in vbs cannot be directly traced.