I tried using vb in asp.net page
I got an exception error message Cannot create ActiveX component.
var Excel, Book;
// Create the Excel application object.
Excel = new ActiveXObject("Excel.Application");
However, this code works in ASP pages.
Could you please suggest where I am going wrong.
Any help is much appreciated