I created a survey in vb.net where results are stored in an Excel file. Locally I can access and update the data of the file, but if I put online can not correctly access the excel file.
How can I determine the absolute url of the file so, when a user submits the answers they can be inserted correctly in the excel file?
Currently I use this to determine the location of the file:
Dim LocalizacaoFicheiro As String = String.Concat(Server.MapPath("."), "RespostasQuestionario.xlsx")