HOW TO
This script will allow you to run sound files through Avenue.
Edit this script to include the pathname of your sound file.
Code:
'Running Sound Files
'TheSnd represents the directory
'structure ringin.wav file.
theSnd = "c:\Winnt\Media\ringin.wav"
if (File.Exists(theSnd.AsFileName)) then
soundArg = theSnd.AsFileName
System.Playsound(soundArg, TRUE)
else
MsgBox.Warning("File "+theSnd+" not found.", "Warning")
end
Get help from ArcGIS experts
Download the Esri Support App