|
 |
asp_components thread: Need some help about 'Excel.Application' object using
Message #1 by "Tony Tsai" <tonytsai@o...> on Fri, 20 Oct 2000 09:56:22 +0100
|
|
Question :
When I create 'Excel.Application' object in ASP program and run it. I
can't run Excel or any one office program at same time. There was a memory
access error I got.
Content of asp program is :
...
Set xlsApp = Server.CreateObject("Excel.Application.9")
xlsApp.AllowPNG=true
xlsApp.Application.Visible = True
xlsApp.Application.Workbooks.Open SourceFile
...
Thanks!
Tony
Message #2 by =?iso-8859-1?Q?Jenz_R=F6nnow?= <jenz@c...> on Fri, 20 Oct 2000 13:54:09 +0200
|
|
Im not sure about what you want to do...
You want to launch Excel from ASP to do
what on the server? Obviously you are open an
excel document...
And Excel is installed on the server I presume?
/Jenz, System Developer
-----Original Message-----
From: Tony Tsai [mailto:tonytsai@o...]
Sent: den 20 oktober 2000 10:56
To: ASP components
Subject: [asp_components] Need some help about 'Excel.Application'
object using
Question :
When I create 'Excel.Application' object in ASP program and run it. I
can't run Excel or any one office program at same time. There was a memory
access error I got.
Content of asp program is :
...
Set xlsApp = Server.CreateObject("Excel.Application.9")
xlsApp.AllowPNG=true
xlsApp.Application.Visible = True
xlsApp.Application.Workbooks.Open SourceFile
...
Thanks!
Tony
Message #3 by "tony" <tonytsai@o...> on Mon, 23 Oct 2000 09:44:33 +0800
|
|
Thanks for your reply.
My web server is IIS 5.0 with windows 2000 server .
Office 2000 is installed on server.
The question is why I can't run excel from office 2000 and ASP program by
Server.CreateObject("Excel.Application") command at same time on this
server?
The other testing is build a VB program with
CreateObject('Excel.Application')
command. It's OK to run at same time with Excel and any other office
programs.
But, this VB program can't run at same time with ASP program also.
I don't know if it's COM server problem or not ?
I really don't know how to solve this problem . Do you have any comment?
Thanks a lot !
Tony
----- Original Message -----
From: "Jenz Rönnow" <jenz@c...>
To: "ASP components" <asp_components@p...>
Sent: Friday, October 20, 2000 7:54 PM
Subject: [asp_components] RE: Need some help about 'Excel.Application'
object using
> Im not sure about what you want to do...
>
> You want to launch Excel from ASP to do
> what on the server? Obviously you are open an
> excel document...
>
> And Excel is installed on the server I presume?
>
> /Jenz, System Developer
>
> -----Original Message-----
> From: Tony Tsai [mailto:tonytsai@o...]
> Sent: den 20 oktober 2000 10:56
> To: ASP components
> Subject: [asp_components] Need some help about 'Excel.Application'
> object using
>
>
> Question :
>
> When I create 'Excel.Application' object in ASP program and run it. I
> can't run Excel or any one office program at same time. There was a memory
> access error I got.
>
> Content of asp program is :
> ...
> Set xlsApp = Server.CreateObject("Excel.Application.9")
> xlsApp.AllowPNG=true
> xlsApp.Application.Visible = True
> xlsApp.Application.Workbooks.Open SourceFile
> ...
>
> Thanks!
>
> Tony
>
>
>
>
>
|
|
 |