Hi Folks,
Return isFile = System.IO.FileExists(PathFileName)
End Function
Hi Folks,
I could be wrong, but I dont think you can use http in FileExists. It has to be a file system path. FileExists("\\salesserver\share\file.pdf")
BobP
Hi BobP,
It works! Thank-you, Thank-you, Thank-you.
Best regards
Hi Folks,
After getting this to work in BIDS, we moved to Report Server and it's not working. I added embedded code as per my prior threads. I'm not getting a error it just does not reflect the changes I made with BobP's help. Is there anything I have to do differently when I move the report to the Report Server with embedded code I appreciate any help you can give.
Best regards
did u resolve this and if so how did u do it
Hi Suresh,
If you read through this thread, BobP suggestion worked in BIDS and if you're looking to do something similiar look at the code I embedded. After getting that far and talking it over with my manager he told me not to use the File.Exist property because it will be a resource hog. So, I had to abandon that approach. I hope to resolve by changing the visibility of my link to the file based on a given condition. This is all new to me, and my manager told me its possible so I'm going to search it out. I hope that helps.
The link below is also a part.
http://forums.microsoft.com/MSDN/showpost.aspx postid=2386082&siteid=1
Best regards