dim oExcel as object
oExcel=CreateObject("Excel.Application")
It works perfectly on my local machine. Once I upload the applcation onto the Web Sever. I got the error:"cannot create ActiveX Component"
Does anyone know why it happens?
Thank you!!!!
I was not sure about that. My thought is if I can open and write excel report in the web browser as long as i have Excel on my local machine without excel installed on the server.
So you are saying if I want to create excel object. Excel has to be installed?
Sorry i am new to this. I don't fully understand how it works
The key to how ASP.NET works is that the ASP stands for Active Server Pages. If you want your page to be able to create an Excel application then it is the server which has to do the work to create this page. Thos quite obviously menas that the server will have to have excel installed. Once the page has created the relevant HTML, this will be sent to the client whose browser will read the HTML and display it to the user.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.