Click here to Skip to main content
15,891,473 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, I'm using OutsideX,OCX file in html page.
code is given below.

<html>
<head>
<title>Outside In Viewer Technology ActiveX Sample</title>
</head>
<body>
<p><font size="5">Test the Outside In ActiveX Viewing Technology</font></p>
 
<input type="submit" name="Open" value="Open File">
<input type="submit" name="Search" value="Search File">
<input type="submit" name="SearchNext" value="Search Next">
 
<script language="VBScript">
 
   Sub Open_OnClick
		Retval = OIXC.ViewFile(True, "", 0, 0, False, False, 0)
	End Sub
 
   Sub Search_OnClick
      Retval = OIXC.Search(True, "", 2, 4, 1)
   End Sub
 
   Sub SearchNext_OnClick
      Retval = OIXC.SearchNext(0)
   End Sub
</script>
 
<p><object id="OIXC"  CLASSID="CLSID:071C268F-F571-11D1-A771-00A02474F207" align="baseline" border="0" width="640" height="480"></object></p>
 
</body>
</html>

when i run html page by absolute way e.g. C:\Inetpub\wwwroot\1.html it runs fine, but when i tried to execute it from iis. it won't work.
plz give me appropriate solution asap
Posted
Updated 8-Jul-11 23:57pm
v2

1 solution

Your web page needs to serve this OCX. This[^] explains what you need to do. Note: AFAIK, only IE will use an ActiveX, meaning your page won't work in Firefox/Safari/Chrome.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900