Hello,
I use VS2005,Excel2003,WinXP-sp2 and create asp.net web application project to open the excel file.
I want to show excel application.
If I use visual development server type from project propertes,I get it.
But if I use IIS Web server type ,I can't get.
How can i get to open excel application by web page?
I want to use by IIS Web Server option type.
Codes:
////////////////////////////////
Excel.Application excelApp = new Excel.ApplicationClass();
excelApp.Visible = true;
Excel.Workbook newWorkbook = excelApp.Workbooks.Add(XlWBATemplate.xlWBATWorkshe et);
string workbookPath = "C:/text.xls"; Excel.Workbook excelWorkbook = Excel.Workbook excelWorkbook = excelApp.Workbooks.Open(workbookPath, 0,
false, 5, "", "", false, Excel.XlPlatform.xlWindows, "", true,
false, 0, true, false, false);
////////////////////////////////
Pls Reply ,
Thanks in advance.