Hi Basic4 PPC Forum
I have been using the GPSDriver and testing this and that. I have been playing with this:
With the GPSDriver I use this code in Sub Globels.
Sub Globals
Dim Sounds As directions(0) 'Adds all the Directions using Sound Files
Dim sound
Dim soundDirection
...add the Sound Files 0-16
Dim directions(0)
Dim soundDirection '''Adds all the Directions in Sounds'''
sounds() = Array("sfNorth","sfNorth sfNortheast","sfNortheast","sfEast Northeast", _
"sfEast", "East Southeast", "sfSoutheast", "sfSouth Southeast", "sfSouth", "sfSouth Southwest", _
"sfSouthwest", "sfWest Southwest", "sfWest", "sfWest Northwest", "sfNorthwest", "sfNorth Northwest")
This runs.
Now, I would like to add 0-16 sound files to Play every 5-15 min Interval using a Timer Control. Option to set time (5-15 min), and sound off/on.
What would be the right code for this? Just don't know how to code it and put the time on it the correct way.
Thanks!!! for all kind help on this.
William
I have been using the GPSDriver and testing this and that. I have been playing with this:
With the GPSDriver I use this code in Sub Globels.
Sub Globals
Dim Sounds As directions(0) 'Adds all the Directions using Sound Files
Dim sound
Dim soundDirection
...add the Sound Files 0-16
Dim directions(0)
Dim soundDirection '''Adds all the Directions in Sounds'''
sounds() = Array("sfNorth","sfNorth sfNortheast","sfNortheast","sfEast Northeast", _
"sfEast", "East Southeast", "sfSoutheast", "sfSouth Southeast", "sfSouth", "sfSouth Southwest", _
"sfSouthwest", "sfWest Southwest", "sfWest", "sfWest Northwest", "sfNorthwest", "sfNorth Northwest")
This runs.
Now, I would like to add 0-16 sound files to Play every 5-15 min Interval using a Timer Control. Option to set time (5-15 min), and sound off/on.
What would be the right code for this? Just don't know how to code it and put the time on it the correct way.
Thanks!!! for all kind help on this.
William
Last edited: