>Thanks for the response to my question. I have done what your code suggested, but I am getting this error: mciSendString() not found.
>How do I fix this problem?
Case is important in the DECLARE command. Be sure it is exactly as it was in Reza's message.