Here a few lines of Code I obtained from this site
http://www.greggriffiths.org/webdev/...l/activex.html
<script language='VBScript'>
Dim Xcl
Sub StartExcel()
Xcl = CreateObject("Excel.Application")
Xcl.Visible = true
dim newBook = Xcl.Workbooks.Add
end sub
</script>
<body onload="StartExcel()">
</body>
When i run this program I get the following error
System.Exception: Cannot create ActiveX component.
Is there anything wrong with the code ?
If not then How do I enable Active X Components in my Internet Explorer