Create Client side Excel Object from ASPX

  • Thread starter Thread starter Jiang
  • Start date Start date
J

Jiang

Does anybody know how to create client side
Excel.Application objects from aspx code?

I know in vbscript you can put into
<script language="vbscript">
Dim oXL, oBook
Set oXL = CreateObject("Excel.Application")
Set oBook = oXL.Workbooks.Add
....

Even though you will get an activeX warning, you still
can make it.

How can I do it in ASP.net?

Jiang
 
You cannot create or control client objects from server side code. How many
people have to ask this before it becomes fact?

You can still do vb script as you've stated, but that's all it is.. vb
script. It's not asp.net code; it's not even .net code.
 
Back
Top