Hi, we are currently evaluating your viewpdf product, I'm trying to make it work as an embedded object in a browser,
I'm getting error: dll not loaded
please check my code:
Code
<script language="javascript">
function LoadPdf(){
document.all.pdfviewer.LoadFromFile ("F:\My Documents\My Projects\sample files\acrobat pdf files\TNIV_Bible.pdf");
}
function Init(){
document.all.pdfviewer.ViewerStart ("F:\My Documents\My Projects\ASP.NET Web Projects\DoxtremeWeb\Testing\PDFViewLib.dll", "MyViewer", "", 10000 );
}
</script>
</HEAD>
<body MS_POSITIONING="GridLayout" onload="Init()">
<form id="Form1" method="post" runat="server">
<OBJECT id="pdfviewer" style="Z-INDEX: 101; LEFT: 40px; WIDTH: 1008px; POSITION: absolute; TOP: 40px; HEIGHT: 608px"
classid="clsid:D8D3A8F6-46EF-4424-AE49-4376F1FE1EB4" VIEWASTEXT>
<PARAM NAME="Page" VALUE="0">
<PARAM NAME="filename" VALUE="">
<PARAM NAME="LoadPassword" VALUE="">
<PARAM NAME="BorderStyle" VALUE="0">
<PARAM NAME="Enabled" VALUE="-1">
<PARAM NAME="Visible" VALUE="-1">
</OBJECT>
<INPUT id="Load" style="Z-INDEX: 102; LEFT: 248px; POSITION: absolute; TOP: 8px" type="button" value="Button" onclick="LoadPdf()">
</form>
</body>
Alles anzeigen
The ViewerStart method should license the dll right?
Thanks,
Jewel