01-06-2006, 08:53 PM
Author: grimsk8ter11
Difficulty: 1/5
This is a simple tutorial to add music to the Main Menu, login screen, etc.
:: CLIENT SIDE ::
Open up the form code you want music in, such as frmMainMenu.
Add this code(unless the form_load exists, then just add the containing code):
Just change musicname.ext to whatever music you want. Then, for every button you want to stop the music, such as the Login button, you would double click on the button and add this code:That's all!
Difficulty: 1/5
This is a simple tutorial to add music to the Main Menu, login screen, etc.
:: CLIENT SIDE ::
Open up the form code you want music in, such as frmMainMenu.
Add this code(unless the form_load exists, then just add the containing code):
Code:
Private Sub Form_Load()
Call PlayMidi("musicname.ext")
End Sub
Just change musicname.ext to whatever music you want. Then, for every button you want to stop the music, such as the Login button, you would double click on the button and add this code:
Code:
Call StopMidi