Hi,
I have been working on the same location path issue fo rsometime now. Using the path as below plays the .wav fine wheras on the web hosting company it just doesnt.
Here is what I have.
Private Function WavPath() As String
Return Server.MapPath(Request.ApplicationPath) & "\WavFiles\"
End Function
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
If Not Page.IsPostBack Then
PlayWav(WavPath() & "202.wav")
End If
End Sub
I have even tried using Server.MapPath("WavFiles\202.wav") but no success.
Can you see what the problem is?
Thanks
I have been working on the same location path issue fo rsometime now. Using the path as below plays the .wav fine wheras on the web hosting company it just doesnt.
Here is what I have.
Private Function WavPath() As String
Return Server.MapPath(Request.ApplicationPath) & "\WavFiles\"
End Function
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
If Not Page.IsPostBack Then
PlayWav(WavPath() & "202.wav")
End If
End Sub
I have even tried using Server.MapPath("WavFiles\202.wav") but no success.
Can you see what the problem is?
Thanks