dim a as excel.application
a= server.createobject("Excel.Application")


...just a guess.

Sam Thompson
----------------------------------------------
2cs Communications Ltd
http://www.2cs.com
[EMAIL PROTECTED]
T: 01473 622263
F: 01473 622515
-----------------------------------------------
----- Original Message -----
From: "Ramesh_Behara" <[EMAIL PROTECTED]>
To: "ActiveServerPages" <[EMAIL PROTECTED]>
Sent: Tuesday, July 30, 2002 7:38 AM
Subject: Creating an object of Excel in Asp.net


> Hi,
> I am trying to create an object of excel in asp.net.  folloing is
> the code i  am using.
>
> dim a as excel.application
> a= createobject("Excel.Application")
>
>
> But i am getting the error "Activex object couldn't be created"
>
> 1) Can i create an object of excel in asp.net or not?
> 2) do i need to set any extra setting in IIS server for creating any
objects
> like excel.....
>
> Your responses are awaited
> Thanks in advance
> Ramesh
> **************************************************************************
> This email (including any attachments) is intended for the sole use of the
> intended recipient/s and may contain material that is CONFIDENTIAL AND
> PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying
or
> distribution or forwarding of any or all of the contents in this message
is
> STRICTLY PROHIBITED. If you are not the intended recipient, please contact
> the sender by email and delete all copies; your cooperation in this regard
> is appreciated.
> **************************************************************************
>
> ---
> You are currently subscribed to activeserverpages as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to
%%email.unsub%%
>


---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to