Ask a Question related to ASP, Design and Development.
-
atoi #1
opening instance of excel through asp
when i try to open an excel spreadsheet using the
following code, the process just hangs IF the spreadsheet
contains macros:
Set objXls = CreateObject("Excel.Application")
objXls.DisplayAlerts = False
objXls.Visible = False
objXls.Workbooks.Open my_excel_path '<-- hangs here
this worked on iis4, but since moving this to iis5 it
fails under the aformentioned circumstances. my guess is
that the macro security has something to do with it as a
dialog box will pop up if macro security is set to medium,
but i'm not sure this is really the problem. if it was,
what profile should change the macro security on the
server? when task manager is opened on the server to see
the hanging task, it shows SYSTEM as the process owner...
any ideas??? thanks!
atoi Guest
-
separate Instance of acrobat on opening a pdf document
hi guys, is there any option in sdk to set a separate instance of acrobat ? the reason is that i set a global variable for using or not my plugin... -
Prevent Excel from opening in browser
I've got an intranet application that presents a list of files in sort of a 'central repository' web page. Each file is an href in the form <a... -
code for opening excel
Hi, Does anybody know some code that opens a spreadsheet in excel rather than the browser? If possible something that can be used with... -
Excel opening slowly
Try turning off the response buffer and see if that makes any difference. <% Response.Buffer = False Response.ContentType =... -
Excel Slow in opening
All, I am using the ASP code below to save some data from a SQL Server database via ADO as an Excel spreadsheet strReportName =... -
Ray at #2
Re: opening instance of excel through asp
Are you running this code on the server? If so, this is ill-advised by
Microsoft. But, should you want to do this, run the code as vbs on your
machine. You should see an error.
Ray at work
"atoi" <anonymous@discussions.microsoft.com> wrote in message
news:01a801c39415$ace1d050$a401280a@phx.gbl...> when i try to open an excel spreadsheet using the
> following code, the process just hangs IF the spreadsheet
> contains macros:
>
> Set objXls = CreateObject("Excel.Application")
> objXls.DisplayAlerts = False
> objXls.Visible = False
> objXls.Workbooks.Open my_excel_path '<-- hangs here
>
> this worked on iis4, but since moving this to iis5 it
> fails under the aformentioned circumstances. my guess is
> that the macro security has something to do with it as a
> dialog box will pop up if macro security is set to medium,
> but i'm not sure this is really the problem. if it was,
> what profile should change the macro security on the
> server? when task manager is opened on the server to see
> the hanging task, it shows SYSTEM as the process owner...
>
> any ideas??? thanks!
>
Ray at Guest



Reply With Quote

