I store PDF, Word, JPG, etc. files in a folder. Each of these files is linked from a web page.
I would like the users be able to delete the selected file by clicking a link in the record.
e.g. how can a file be deleted without hard coding the image location in the code?
Can it be doen like
then call the attachment in the code like
I tried but it didn't work.
This is the code I'm using when the picture location is hard coded:
if fs.FileExists("\\myFiles\myPic.jpg") then
Thank you for your help.