home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Tool Box
/
SIMS_2.iso
/
vb_code1
/
fbi_file
/
backgrou.frm
(
.txt
)
< prev
next >
Wrap
Visual Basic Form
|
1993-01-18
|
2KB
|
51 lines
Background
Background
Form1%
Command2
state
Command1
Continue
street
username
Label4
Your state
Label3
Your city
Label2
Your street address
Label1
Your name
command1_click
Command2_Click
Nicknames
Background
Nicknameq
Form_Click
Form_Load
sndplaysound
Form_GotFocusK
username_Change
username_GotFocus
Form_Activate
Form_QueryUnload
Cancel
UnloadMode
username
texti
street
state
command1_click
Command2_Click
Form_Activate
The following command plays the .wav sound.o
The function MUST be declared in the global module.
The flags (number in parantheses) work as follows:
0 wait until sound finishes before returningp
1 return immediately - sound can be stopped withi
i% =sndplaysound(0&, 0)
2 play no default if it can't find the WAVd
4 play sound over and over, must be combined with 1 by calling the flag
i% =sndplaysound(snd_async or snd_loop, 0) it can also be stopped with '(0%,0)
5 returns false immediately if sound is already playing.
backgrnd.wav