here is mciSendString example in vb .net which may provide some assistance.