B
Bob Day
Using VS 2003, VB.NET, MSDE
Is there a way to itterate through the items in a structure? Consider the
structure below, which holds the name of wave files. I would like to
itterate through them to confirm the wave files actually exist on the hard
disk. I don't see any collection or way to do it.
I would like something like this (or anything that would work):
dim Constant as Structure_Prompts_Constant
For each Constant in Structure_Prompts_Constant_Collection
' code to confirm file exists
next
------------------------------------------------------
Friend Structure Prompts
Public Const PlayPINAccessDenied1of2 As String =
"Play_PIN_Access_Denied_1of2.wav"
Public Const PlayPINAccessDenied2aof2 As String =
"Play_PIN_Access_Denied_2aof2.wav"
Public Const PlayPINAccessDenied2bof2 As String =
"Play_PIN_Access_Denied_2bof2.wav"
End Structure
Thanks!
Bob Day
Is there a way to itterate through the items in a structure? Consider the
structure below, which holds the name of wave files. I would like to
itterate through them to confirm the wave files actually exist on the hard
disk. I don't see any collection or way to do it.
I would like something like this (or anything that would work):
dim Constant as Structure_Prompts_Constant
For each Constant in Structure_Prompts_Constant_Collection
' code to confirm file exists
next
------------------------------------------------------
Friend Structure Prompts
Public Const PlayPINAccessDenied1of2 As String =
"Play_PIN_Access_Denied_1of2.wav"
Public Const PlayPINAccessDenied2aof2 As String =
"Play_PIN_Access_Denied_2aof2.wav"
Public Const PlayPINAccessDenied2bof2 As String =
"Play_PIN_Access_Denied_2bof2.wav"
End Structure
Thanks!
Bob Day