wakeup Posted June 14, 2005 Posted June 14, 2005 I can't run excel and set it visible from aspnet. This is the code. excel = new Excel.ApplicationClass(); excel.visible = true It don't throw any error, but excel is not visible :( thanks Quote
Administrators PlausiblyDamp Posted June 14, 2005 Administrators Posted June 14, 2005 If you are launching excel from server side code then excel will be running on the server itself - not on the client. When you make it visible you are making it visible on the ASPNET account's desktop - not the user logged into the server; effectively preventing you from seeing it anyway. Any chance you could give a few more details about what you are trying to achieve as there may be an alternate solution. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
wakeup Posted June 14, 2005 Author Posted June 14, 2005 I open excel, and run a macro excel, but it display message and I can't see this message. Thanks Quote
bri189a Posted June 14, 2005 Posted June 14, 2005 You probably also have a lot of instances of EXCEL.EXE in your task manager too since you have a message box that is open and waiting... office components don't dispose as easily as you would think...at least prior to 2003 or is it XP PD? You need to make sure your cleaning up your instances of Excel, server admins tend to get pretty upset when you crash a server because there are a few thousands instances of excel running. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.