Click here to Skip to main content
15,917,454 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: popup window Pin
John-ph10-Sep-07 1:13
John-ph10-Sep-07 1:13 
AnswerRe: popup window Pin
N a v a n e e t h10-Sep-07 1:51
N a v a n e e t h10-Sep-07 1:51 
QuestionHow to insert HTML string (with tags) in word and display as html Pin
here2learn10-Sep-07 0:33
here2learn10-Sep-07 0:33 
Questionhow do i store news articles? Pin
marvc19-Sep-07 23:46
marvc19-Sep-07 23:46 
Questionprevious page is error but still work.. Pin
hardyyanto9-Sep-07 23:39
hardyyanto9-Sep-07 23:39 
AnswerRe: previous page is error but still work.. Pin
John-ph10-Sep-07 0:37
John-ph10-Sep-07 0:37 
GeneralRe: previous page is error but still work.. Pin
hardyyanto10-Sep-07 5:03
hardyyanto10-Sep-07 5:03 
Questionexcel not working uniformly across machines with same os Pin
S Palip9-Sep-07 23:11
S Palip9-Sep-07 23:11 
Hi,

The code below works in one of my xp pro machine and fails to compile in another machine with same os. I'm referring excel 11.0 in my application and i have installed Excel 2003(11.8146.8132) SP2 in my machine.

Can any one help with this.

string strSavePath = Server.MapPath(".") + "\\";
strSavePath += "Emb.xls";

// Application ExcelApp = null;
//_Workbook ExcelWorkbook = null;
//_Worksheet ExcelWorkSheet = null;

Excel.Application ExcelApp = null;
Excel.Workbook ExcelWorkbook = null;
Excel.Worksheet ExcelWorkSheet = null;


if (ExcelWorkSheet != null)
ExcelWorkSheet = null;
if (ExcelWorkbook != null)
ExcelWorkbook = null;
if (ExcelApp != null)
ExcelApp.Quit();

//ExcelApp = new Application();
//ExcelWorkbook = (_Workbook)(ExcelApp.Workbooks.Add(Type.Missing));
//ExcelWorkSheet = (_Worksheet)ExcelWorkbook.Sheets["Sheet1"];

ExcelApp = new Excel.Application();
ExcelWorkbook = (Excel.Workbook)(ExcelApp.Workbooks.Add(Type.Missing));
ExcelWorkSheet = (Excel.Worksheet)ExcelWorkbook.Sheets["Sheet1"];

ExcelWorkSheet.get_Range("A3", "E41").EntireColumn.AutoFit();
ExcelApp.Visible = true;
ExcelApp.DisplayFullScreen = false;

What should i do to make it work in all the machines.

Kindly help me.

Thanks and Regards,

PLS
Questionmake procedure to check balance > or < totalcost Pin
hardyyanto9-Sep-07 23:03
hardyyanto9-Sep-07 23:03 
AnswerRe: make procedure to check balance > or < totalcost Pin
John-ph10-Sep-07 1:27
John-ph10-Sep-07 1:27 
GeneralRe: make procedure to check balance > or < totalcost Pin
hardyyanto10-Sep-07 5:27
hardyyanto10-Sep-07 5:27 
QuestionUnmatched records from DataTables Pin
jayarajmrj9-Sep-07 22:55
jayarajmrj9-Sep-07 22:55 
AnswerRe: Unmatched records from DataTables Pin
PrakashBhaskar10-Sep-07 0:54
PrakashBhaskar10-Sep-07 0:54 
AnswerRe: Unmatched records from DataTables Pin
John-ph10-Sep-07 1:03
John-ph10-Sep-07 1:03 
Question[Message Deleted] Pin
Sreekumar P P9-Sep-07 22:41
Sreekumar P P9-Sep-07 22:41 
AnswerRe: MOSS 2007 Workflow Pin
John-ph9-Sep-07 22:55
John-ph9-Sep-07 22:55 
AnswerRe: MOSS 2007 Workflow Pin
Pete O'Hanlon9-Sep-07 23:00
mvePete O'Hanlon9-Sep-07 23:00 
Questionget image properties with javascript [modified] Pin
morteza579-Sep-07 22:25
morteza579-Sep-07 22:25 
AnswerRe: get image properties with javascript Pin
morteza579-Sep-07 23:29
morteza579-Sep-07 23:29 
QuestionIFRAME through ASP.NET with C# Pin
.NET- India 9-Sep-07 21:59
.NET- India 9-Sep-07 21:59 
AnswerRe: IFRAME through ASP.NET with C# Pin
John-ph9-Sep-07 22:48
John-ph9-Sep-07 22:48 
QuestionHOw to display the button id Pin
Mri1a9-Sep-07 21:55
Mri1a9-Sep-07 21:55 
AnswerRe: HOw to display the button id Pin
John-ph9-Sep-07 22:10
John-ph9-Sep-07 22:10 
GeneralRe: HOw to display the button id Pin
Mri1a10-Sep-07 1:11
Mri1a10-Sep-07 1:11 
Questioncan we define the table and div property in the skin in asp.net Pin
Piyush Vardhan Singh9-Sep-07 20:49
Piyush Vardhan Singh9-Sep-07 20:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.