It might be helpful to state what libraries/references are needed for your routine.

And, if they are not included with native VB, where to get them.