Hi
I have the following code:
It is ok but since I am closing the form and opening another form the player is not playing. I want to play the sound then do the rest of the code. How o do that? I tried the sleep option but it is freezing everything even the player then goes to the new form.Code:WMP3.URL = "C:\Users\ramit\OneDrive\Desktop\images\correct.mp3" DoCmd.OpenQuery "updateAhmad" AhmadScore = AhmadScore + 100 Forms("main").ahmad = AhmadScore Forms![Main].Visible = True DoCmd.Close acForm, "form1"