Click here to Skip to main content
15,889,600 members
Home / Discussions / C#
   

C#

 
QuestionVirtualMode DataGridView - user presses Esc while editing Pin
Nigel Mackay12-Jan-10 23:31
Nigel Mackay12-Jan-10 23:31 
Questionpdf to text Pin
prem212-Jan-10 23:13
prem212-Jan-10 23:13 
AnswerRe: pdf to text Pin
SeMartens12-Jan-10 23:15
SeMartens12-Jan-10 23:15 
QuestionHow To directly Print Using Microsoft.Reporting.WinForms.ReportViewer Pin
Thaer Hamael12-Jan-10 22:23
Thaer Hamael12-Jan-10 22:23 
AnswerRe: How To directly Print Using Microsoft.Reporting.WinForms.ReportViewer Pin
Eddy Vluggen13-Jan-10 1:12
professionalEddy Vluggen13-Jan-10 1:12 
GeneralRe: How To directly Print Using Microsoft.Reporting.WinForms.ReportViewer Pin
Thaer Hamael13-Jan-10 1:38
Thaer Hamael13-Jan-10 1:38 
GeneralRe: How To directly Print Using Microsoft.Reporting.WinForms.ReportViewer Pin
Eddy Vluggen13-Jan-10 2:16
professionalEddy Vluggen13-Jan-10 2:16 
QuestionSystem.Runtime.InteropServices.COMException (0x80040154) Pin
Priya Prk12-Jan-10 20:48
Priya Prk12-Jan-10 20:48 
Dear all,

I have a application that writes some data to excel sheet. Ofter installing my application on a PC with no Office, when i run it, im getting this error:

System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154.
at QeKms.Classes.Export.ExportToExcel(DataTable dt, String path)
at QeKms.Classes.Export.ExportData()


The Microsoft.Office.Interop.Excel.dll is included in the application directory.
What is this error mean? Do i have to install MS Office on each computer before running my application?

Thanks in advance
AnswerRe: System.Runtime.InteropServices.COMException (0x80040154) Pin
OriginalGriff12-Jan-10 23:09
mveOriginalGriff12-Jan-10 23:09 
AnswerRe: System.Runtime.InteropServices.COMException (0x80040154) Pin
Priya Prk13-Jan-10 8:39
Priya Prk13-Jan-10 8:39 
GeneralRe: System.Runtime.InteropServices.COMException (0x80040154) Pin
OriginalGriff14-Jan-10 1:49
mveOriginalGriff14-Jan-10 1:49 
GeneralRe: System.Runtime.InteropServices.COMException (0x80040154) Pin
Priya Prk14-Jan-10 21:34
Priya Prk14-Jan-10 21:34 
QuestionShowing Multiple records Pin
sjs4u12-Jan-10 18:53
sjs4u12-Jan-10 18:53 
AnswerRe: Showing Multiple records Pin
carlecomm13-Jan-10 19:21
carlecomm13-Jan-10 19:21 
Questionregex problem [modified] Pin
uglyeyes12-Jan-10 18:14
uglyeyes12-Jan-10 18:14 
AnswerRe: regex problem Pin
OriginalGriff12-Jan-10 23:05
mveOriginalGriff12-Jan-10 23:05 
GeneralRe: regex problem Pin
uglyeyes13-Jan-10 0:25
uglyeyes13-Jan-10 0:25 
GeneralRe: regex problem Pin
OriginalGriff13-Jan-10 0:30
mveOriginalGriff13-Jan-10 0:30 
GeneralRe: regex problem Pin
uglyeyes13-Jan-10 18:07
uglyeyes13-Jan-10 18:07 
GeneralRe: regex problem Pin
OriginalGriff13-Jan-10 21:37
mveOriginalGriff13-Jan-10 21:37 
AnswerRe: regex problem Pin
carlecomm13-Jan-10 19:19
carlecomm13-Jan-10 19:19 
GeneralRe: regex problem Pin
uglyeyes13-Jan-10 19:28
uglyeyes13-Jan-10 19:28 
AnswerRe: regex problem Pin
Ravi Sant14-Apr-11 1:47
Ravi Sant14-Apr-11 1:47 
QuestionTroubles Drawing a Rubik Cube to windows form. Pin
Are Jay12-Jan-10 16:56
Are Jay12-Jan-10 16:56 
Questiongetting country code based on IP Pin
uglyeyes12-Jan-10 16:37
uglyeyes12-Jan-10 16:37 

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.