Example:

dim claTest as ClassName
set claTest=nothing

or have you close the device?

dim lAPIReturn as long
lAPIReturn =mciExecute("close DeviceName")

and a question,are u a MCSD?
can u tell me some advices how I can pass MCSD?

Waiting for your teaching!
[email protected]