Hi, im building an intranet file viewer and i need to open excel, pdf
etc.. in asp page, but it doesnt seem to work, any ideas why any of
this options dont work?
HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body>
<object width="900px" height="500px" id="excel" data="c:/Users/RS/babywebssl/Ficheiros/ficheiros/Agosto/Relatorio_Agosto.xlsx" classid="clsid:0002E55a-0000-0000-C000-000000000046" VIEWASTEXT >
<param name="DisplayTitleBar" value="true" />
<param name="DataType" value="CSVURL"/>
<param name="AutoFit" value="0"/>
<param name="DisplayColHeaders" value="1"/>
<param name="DisplayGridlines" value="1"/>
<param name="DisplayHorizontalScrollBar" value="1"/>
<param name="DisplayRowHeaders" value="1"/>
<param name="DisplayTitleBar" value="1"/>
<param name="DisplayToolbar" value="1"/>
<param name="DisplayVerticalScrollBar" value="1"/>
<param name="EnableAutoCalculate" value="0"/>
<param name="EnableEvents" value="0"/>
<param name="MoveAfterReturn" value="1"/>
<param name="MoveAfterReturnDirection" value="0"/>
<param name="RightToLeft" value="0"/>
</object>
<br><br><br>
<iframe src="http://file:///c:/Users/RS/babywebssl/Ficheiros/ficheiros/Agosto/Relatorio_Agosto.xlsx" width="100%" height="500"></iframe>
</body>
</html>
Iv tried with
http://file.path,
http://file:///file.path or just file.path and nothing.
thanks