Click here to Skip to main content
16,017,015 members
Home / Discussions / C#
   

C#

 
GeneralRe: Waiting for other threads Pin
Roger Alsing7-May-08 10:06
Roger Alsing7-May-08 10:06 
GeneralRe: Waiting for other threads Pin
Spacix One7-May-08 10:35
Spacix One7-May-08 10:35 
GeneralRe: Waiting for other threads Pin
Roger Alsing7-May-08 11:12
Roger Alsing7-May-08 11:12 
GeneralRe: Waiting for other threads Pin
GuyThiebaut7-May-08 10:51
professionalGuyThiebaut7-May-08 10:51 
GeneralRe: Waiting for other threads Pin
Spacix One7-May-08 11:01
Spacix One7-May-08 11:01 
QuestionLooking for HELPFUL information on my event log issues Pin
LongRange.Shooter7-May-08 7:25
LongRange.Shooter7-May-08 7:25 
AnswerRe: Looking for HELPFUL information on my event log issues [modified] Pin
DaveyM697-May-08 8:57
professionalDaveyM697-May-08 8:57 
QuestionCannot create an instance of the abstract class or interface 'Excel.Application Pin
Dominic Burford7-May-08 5:14
professionalDominic Burford7-May-08 5:14 
I am trying to automate Excel from within my C# application, and am receiving the above error.

I have added a reference in my project to the Microsoft Excel 12.0 object library which adds the Microsoft.Office.Core and Microsoft.Office.Interop.Excel namespaces (but strangely not the the Excel namespace - this is is only added when I add a reference to the Microsoft Excel 5.0 object library).

I have downloaded the latest Primary Interop Assemblies (PIA) for Microsoft Office from the MS download site, and added the following code to my program as well:

using Excel;

I still get the error. I have run out of ideas!!

Any help much appreciated.
AnswerRe: Cannot create an instance of the abstract class or interface 'Excel.Application Pin
Giorgi Dalakishvili7-May-08 5:21
mentorGiorgi Dalakishvili7-May-08 5:21 
AnswerRe: Cannot create an instance of the abstract class or interface 'Excel.Application Pin
MarkB7777-May-08 13:07
MarkB7777-May-08 13:07 
QuestionRemoting in dot net Pin
ilango gandhi7-May-08 5:07
ilango gandhi7-May-08 5:07 
AnswerRe: Remoting in dot net Pin
led mike7-May-08 5:14
led mike7-May-08 5:14 
AnswerRe: Remoting in dot net Pin
Cranky7-May-08 5:33
Cranky7-May-08 5:33 
AnswerRe: Remoting in dot net Pin
Abhijit Jana7-May-08 5:55
professionalAbhijit Jana7-May-08 5:55 
AnswerRe: Remoting in dot net Pin
leckey7-May-08 6:41
leckey7-May-08 6:41 
QuestionText Ticker Pin
KBou7-May-08 4:59
KBou7-May-08 4:59 
AnswerRe: Text Ticker Pin
Christian Graus7-May-08 12:01
protectorChristian Graus7-May-08 12:01 
QuestionA question on having multiple source log to an eventlog Pin
LongRange.Shooter7-May-08 4:20
LongRange.Shooter7-May-08 4:20 
AnswerRe: A question on having multiple source log to an eventlog Pin
led mike7-May-08 4:48
led mike7-May-08 4:48 
GeneralRe: A question on having multiple source log to an eventlog Pin
LongRange.Shooter7-May-08 4:56
LongRange.Shooter7-May-08 4:56 
GeneralRe: A question on having multiple source log to an eventlog Pin
led mike7-May-08 4:59
led mike7-May-08 4:59 
GeneralRe: A question on having multiple source log to an eventlog Pin
Ashfield7-May-08 5:21
Ashfield7-May-08 5:21 
GeneralRe: A question on having multiple source log to an eventlog Pin
LongRange.Shooter7-May-08 7:18
LongRange.Shooter7-May-08 7:18 
GeneralRe: A question on having multiple source log to an eventlog Pin
Ashfield7-May-08 23:28
Ashfield7-May-08 23:28 
GeneralRe: A question on having multiple source log to an eventlog Pin
leckey7-May-08 6:44
leckey7-May-08 6:44 

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.