David,
We had a similar problem a few weeks go running a program (PGP Encrypt) from a web service (which for all practical purposes is an ASP.NET app) The program ran and showed up on the task manager but not on the screen. We worked around this problem by redirecting the standard output of the program that we launched. That worked for us BUT the program was a console application not a GUI type of app like Excel.
Be aware that when you launch a program from a ASP.NET application it is running under the IIS/ASP user, not as your user name. The IIS/ASP user has very limited privileges and you may run into a bunch of security issues -- in addition to the screen issue.
I am courious, Why would you want Excel to be visible on an ASP.NET app? Will somebody be at the server looking at it while users hit your web site?
>Thanks, Kevin.
>
>We tried your code verbatim, and it's still not working for us. We're working in ASP.Net - I'm wondering if there could be some sort of security or permissions setting that's preventing it from becoming visible.
>
>If you or anyone else has any thoughts, they would be appreciated!
>
>Thanks,
>
>David
>
>>David,
>>
>>When I do the following...
>>
>>Excel.ApplicationClass oXL = new Excel.ApplicationClass();
>>oXL.UserControl = true;
>>oXL.Visible=true;
>>
>>it works for me....
>>
>>Kevin
Hector Correa