Hello,
I am using this code to display excel in IE.
locFilesPath = "D:\Files\myFile.xls"
If (System.IO.File.Exists(locFilesPath)) Then
Response.Clear()
Response.ContentType = "Application/x-msexcel"
Response.WriteFile(locFilesPath)
Response.End()
End If
This does not work if remote computer does not have MS office installed. I
need to check if excel installed or not just before this code.
How should I do that?
Thanks,
Jim.