Click here to Skip to main content
15,908,264 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to idetify whether the user responded to a messagebox Pin
Shajeel17-Jul-06 1:52
Shajeel17-Jul-06 1:52 
AnswerRe: how to idetify whether the user responded to a messagebox Pin
Gavin Roberts17-Jul-06 1:52
Gavin Roberts17-Jul-06 1:52 
GeneralYou have got to be kidding me Pin
Ennis Ray Lynch, Jr.17-Jul-06 2:58
Ennis Ray Lynch, Jr.17-Jul-06 2:58 
GeneralRe: You have got to be kidding me Pin
Gavin Roberts17-Jul-06 3:01
Gavin Roberts17-Jul-06 3:01 
GeneralSmall grain of salt Pin
Ennis Ray Lynch, Jr.17-Jul-06 3:06
Ennis Ray Lynch, Jr.17-Jul-06 3:06 
GeneralRe: Small grain of salt Pin
Gavin Roberts17-Jul-06 3:11
Gavin Roberts17-Jul-06 3:11 
GeneralRe: how to idetify whether the user responded to a messagebox Pin
engsrini17-Jul-06 21:36
engsrini17-Jul-06 21:36 
QuestionExcel Application Pin
pirogramci17-Jul-06 0:40
pirogramci17-Jul-06 0:40 
Hello. I want to get some values with C# from an excel file but I got below error message.

An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in WindowsApplication1.exe
Additional information: Old format or invalid type library.


I referenced Microsoft Excel 11.0 Object Library and I use .Net 2003. What might be the problem? My codes are below. Thanks.


Excel.Application excelApp = new Excel.ApplicationClass();
excelApp.Visible = true;
string workbookPath = "D:/a.xls";

Excel.Workbook excelWorkbook = excelApp.Workbooks.Open(workbookPath,
0, false, 5, "", "", false, Excel.XlPlatform.xlWindows, "",
true, false, 0, true, false, false);
AnswerRe: Excel Application Pin
Ed.Poore17-Jul-06 1:17
Ed.Poore17-Jul-06 1:17 
Questionicon problem Pin
Kim061817-Jul-06 0:27
Kim061817-Jul-06 0:27 
AnswerRe: icon problem Pin
Ed.Poore17-Jul-06 1:18
Ed.Poore17-Jul-06 1:18 
QuestionHow To set password to my database in sql sever 2000 ? Pin
hdv21217-Jul-06 0:25
hdv21217-Jul-06 0:25 
AnswerRe: How To set password to my database in sql sever 2000 ? Pin
Ed.Poore17-Jul-06 1:19
Ed.Poore17-Jul-06 1:19 
GeneralRe: How To set password to my database in sql sever 2000 ? [modified] Pin
hdv21217-Jul-06 2:08
hdv21217-Jul-06 2:08 
GeneralRe: How To set password to my database in sql sever 2000 ? Pin
Gavin Roberts17-Jul-06 3:12
Gavin Roberts17-Jul-06 3:12 
QuestionSetup from more than on CD Pin
AhmedSystel17-Jul-06 0:11
AhmedSystel17-Jul-06 0:11 
AnswerRe: Setup from more than on CD Pin
Gavin Roberts17-Jul-06 1:55
Gavin Roberts17-Jul-06 1:55 
GeneralRe: Setup from more than on CD Pin
WillemM17-Jul-06 2:19
WillemM17-Jul-06 2:19 
AnswerDVD, cough, DVD Pin
Ennis Ray Lynch, Jr.17-Jul-06 3:38
Ennis Ray Lynch, Jr.17-Jul-06 3:38 
QuestionReg.Windows mobile Cryptography Pin
Sri harini16-Jul-06 23:58
Sri harini16-Jul-06 23:58 
AnswerRe: Reg.Windows mobile Cryptography Pin
Ed.Poore17-Jul-06 1:23
Ed.Poore17-Jul-06 1:23 
QuestionHow do I know when to start my screensaverfunction Pin
Martin#16-Jul-06 23:56
Martin#16-Jul-06 23:56 
QuestionRe: How do I know when to start my screensaverfunction Pin
Martin#17-Jul-06 0:02
Martin#17-Jul-06 0:02 
AnswerRe: How do I know when to start my screensaverfunction Pin
J4amieC17-Jul-06 1:30
J4amieC17-Jul-06 1:30 
GeneralRe: How do I know when to start my screensaverfunction Pin
Martin#17-Jul-06 1:46
Martin#17-Jul-06 1:46 

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.