The 3356 error is telling you that you dont' have exclusive access to the database. If you want to supply a passoword, that's fine, but at some point, you're going to have to address the 3356 error.
There's code in the ng_Step2 routine that looks like this:
If strFileName =...