Click here to Skip to main content
14,773,486 members
Home » Discussions » C#
   

C#

 
QuestionRoom Reservation Screen Pin
Amitkk319315-Jun-09 6:41
MemberAmitkk319315-Jun-09 6:41 
AnswerRe: Room Reservation Screen Pin
Manas Bhardwaj15-Jun-09 7:04
professionalManas Bhardwaj15-Jun-09 7:04 
AnswerRe: Room Reservation Screen Pin
DaveyM6915-Jun-09 7:25
professionalDaveyM6915-Jun-09 7:25 
GeneralRe: Room Reservation Screen Pin
EliottA15-Jun-09 11:48
MemberEliottA15-Jun-09 11:48 
QuestionCell Borders in DataGridViews Pin
MatthysDT15-Jun-09 5:55
MemberMatthysDT15-Jun-09 5:55 
AnswerRe: Cell Borders in DataGridViews Pin
Henry Minute15-Jun-09 6:51
MemberHenry Minute15-Jun-09 6:51 
AnswerRe: Cell Borders in DataGridViews Pin
Henry Minute15-Jun-09 10:26
MemberHenry Minute15-Jun-09 10:26 
Questioncreate excell file Pin
michaelgr115-Jun-09 5:51
Membermichaelgr115-Jun-09 5:51 
Hello,
I am using microsoft.office.interop.excell to write to excell file.
But i have a problem of saving it.
If i do workbook.saveas and the file exists it asks me if to save it and it rewrites me it (removes the old data).
if i specify it to open a file when i create the workbook:
Microsoft.Office.Interop.Excel.Workbook objBook = ExcelApp.Workbooks.Open(@"c:\Focus Report\123.xls", 0, false, 5, "", "", false, Microsoft.Office.Interop.Excel.XlPlatform.xlWindows, "", true, false, 0, true, false, false);
and the file doesn't exist it cannot save and throws and exception that the file wasn't found.

So how can i save the file (create if not exist and save it (not rewrite) it if exist)?
AnswerRe: create excell file Pin
Simon P Stevens15-Jun-09 6:45
MemberSimon P Stevens15-Jun-09 6:45 
AnswerRe: create excell file Pin
Rolf Jaeger15-Jun-09 18:33
MemberRolf Jaeger15-Jun-09 18:33 
QuestionGetting LINQtoSQL to work with FitNesse Pin
Nuz_UK15-Jun-09 5:44
MemberNuz_UK15-Jun-09 5:44 
QuestionTrashing the content of managed variables Pin
OriginalGriff15-Jun-09 5:18
mveOriginalGriff15-Jun-09 5:18 
AnswerRe: Trashing the content of managed variables Pin
led mike15-Jun-09 5:34
Memberled mike15-Jun-09 5:34 
GeneralRe: Trashing the content of managed variables Pin
OriginalGriff15-Jun-09 5:44
mveOriginalGriff15-Jun-09 5:44 
GeneralRe: Trashing the content of managed variables Pin
Rob Philpott15-Jun-09 6:41
MemberRob Philpott15-Jun-09 6:41 
GeneralRe: Trashing the content of managed variables Pin
OriginalGriff15-Jun-09 6:59
mveOriginalGriff15-Jun-09 6:59 
GeneralRe: Trashing the content of managed variables Pin
led mike15-Jun-09 10:26
Memberled mike15-Jun-09 10:26 
AnswerRe: Trashing the content of managed variables Pin
PIEBALDconsult15-Jun-09 6:47
professionalPIEBALDconsult15-Jun-09 6:47 
GeneralRe: Trashing the content of managed variables Pin
OriginalGriff15-Jun-09 6:56
mveOriginalGriff15-Jun-09 6:56 
GeneralRe: Trashing the content of managed variables Pin
PIEBALDconsult15-Jun-09 9:18
professionalPIEBALDconsult15-Jun-09 9:18 
QuestionAdd String attrribute to File Pin
hirenkshah15-Jun-09 3:37
Memberhirenkshah15-Jun-09 3:37 
AnswerRe: Add String attrribute to File Pin
Nagy Vilmos15-Jun-09 3:44
professionalNagy Vilmos15-Jun-09 3:44 
AnswerRe: Add String attrribute to File Pin
OriginalGriff15-Jun-09 4:20
mveOriginalGriff15-Jun-09 4:20 
QuestionIs local administrator password is blank or not Pin
priyanka_jns15-Jun-09 3:03
Memberpriyanka_jns15-Jun-09 3:03 
AnswerRe: Is local administrator password is blank or not Pin
Simon P Stevens15-Jun-09 6:53
MemberSimon P Stevens15-Jun-09 6:53 

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.