Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default [VBA EXCEL] Application.Close doesn't work with asp.net

Hello,

The following testing code will be executed without an error with
windows server 2003 and asp.net. However Excel will remain in the
process list until i kill the process or reboot the computer.

<script language='vb' runat='server'

Private Sub Page_Load()
Dim excelApp

excelApp = CreateObject("Excel.Application")
excelApp.Quit()
excelApp = Nothing
response.write("OK")
End Sub

</script

In asp, the excel application will be closed with the same statements,
but not in asp.net.

I have tried to add Microsoft.Excel library reference and to explicitly
declare the variables, but it didn't change anything.

I am using ws2003 with asp.net and office xp.
Anyone could tell me what to do ?

Thanks.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to close Excel Application in IE Pommy Excel Discussion (Misc queries) 3 November 24th 05 03:36 PM
Need Macro To Close Excel Application MarySue Excel Programming 3 January 5th 05 07:24 PM
close excel application. VJ Excel Programming 3 October 22nd 04 03:00 AM
macro to close excel application other than application.quit mary Excel Programming 1 September 14th 04 03:43 PM


All times are GMT +1. The time now is 02:46 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"