Click here to Skip to main content
15,890,717 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to open a office document as a new document? Pin
Vikram A Punathambekar17-Jun-09 20:36
Vikram A Punathambekar17-Jun-09 20:36 
GeneralRe: how to open a office document as a new document? Pin
amit_8317-Jun-09 21:21
professionalamit_8317-Jun-09 21:21 
QuestionFFT or DFT library for C# Pin
jobin00700717-Jun-09 19:33
jobin00700717-Jun-09 19:33 
AnswerRe: FFT or DFT library for C# Pin
Curtis Schlak.18-Jun-09 12:50
Curtis Schlak.18-Jun-09 12:50 
AnswerRe: FFT or DFT library for C# Pin
Steve Hageman15-Jul-16 12:20
Steve Hageman15-Jul-16 12:20 
Questionsetting the file version Pin
subramanyeswari17-Jun-09 18:21
subramanyeswari17-Jun-09 18:21 
QuestionIs it possible to get result set from a Oracle store procedure via ODBC? Pin
Morven Huang17-Jun-09 17:33
Morven Huang17-Jun-09 17:33 
QuestionCreating a new excel workbook with C# Pin
Jeffrey Webster17-Jun-09 17:31
Jeffrey Webster17-Jun-09 17:31 
Hi,

I need to work with Excel via C#, but I'm having problems getting started. Keeping it simple to start, I'd just like to open a new Excel workbook.

MSDN describes using code like this:


objExcel = new Excel.Application();
objBooks = (Excel.Workbooks)m_objExcel.Workbooks;
objBook = (Excel._Workbook)(m_objBooks.Add(m_objOpt));

Yet Excel is not recognized by the compiler, which I'm assuming is because I haven't exposed the right namespace.

I'm not sure what that would be. Intellisense is not offering Excel as an option anywhere I've looked. Elsewhere I've heard about using ADO.NET, but haven't seen anything I can get to work.

If anyone has worked with Excel via C# I'd appreciate any guidance...

Thanks,
Jeff
AnswerRe: Creating a new excel workbook with C# Pin
padmanabhan N17-Jun-09 18:19
padmanabhan N17-Jun-09 18:19 
GeneralRe: Creating a new excel workbook with C# Pin
Jeffrey Webster17-Jun-09 18:38
Jeffrey Webster17-Jun-09 18:38 
GeneralRe: Creating a new excel workbook with C# Pin
padmanabhan N17-Jun-09 19:14
padmanabhan N17-Jun-09 19:14 
GeneralRe: Creating a new excel workbook with C# Pin
Jeffrey Webster18-Jun-09 5:14
Jeffrey Webster18-Jun-09 5:14 
GeneralRe: Found Office Pin
Jeffrey Webster17-Jun-09 19:28
Jeffrey Webster17-Jun-09 19:28 
QuestionHow to create a self-extractor use ICSharpCode Pin
Oliver Misear17-Jun-09 16:24
Oliver Misear17-Jun-09 16:24 
AnswerRe: How to create a self-extractor use ICSharpCode Pin
Christian Graus17-Jun-09 16:30
protectorChristian Graus17-Jun-09 16:30 
GeneralRe: How to create a self-extractor use ICSharpCode Pin
Oliver Misear17-Jun-09 16:44
Oliver Misear17-Jun-09 16:44 
GeneralRe: How to create a self-extractor use ICSharpCode Pin
Christian Graus17-Jun-09 17:37
protectorChristian Graus17-Jun-09 17:37 
AnswerRe: How to create a self-extractor use ICSharpCode Pin
Super Lloyd17-Jun-09 17:34
Super Lloyd17-Jun-09 17:34 
QuestionUsing a c# DLL in VS2005 Pin
Jasmine Pomelo17-Jun-09 15:30
Jasmine Pomelo17-Jun-09 15:30 
AnswerRe: Using a c# DLL in VS2005 Pin
Christian Graus17-Jun-09 16:04
protectorChristian Graus17-Jun-09 16:04 
QuestionHow to find out if managed DirectX is installed? Pin
tjeffries17-Jun-09 15:14
tjeffries17-Jun-09 15:14 
QuestionAny C# Gurus know how to handle this bad boy?.. Pin
Paul Calabro17-Jun-09 13:07
Paul Calabro17-Jun-09 13:07 
AnswerRe: Any C# Gurus know how to handle this bad boy?.. Pin
Christian Graus17-Jun-09 13:40
protectorChristian Graus17-Jun-09 13:40 
GeneralRe: Any C# Gurus know how to handle this bad boy?.. Pin
Paul Calabro17-Jun-09 14:16
Paul Calabro17-Jun-09 14:16 
GeneralRe: Any C# Gurus know how to handle this bad boy?.. Pin
Colin Angus Mackay17-Jun-09 14:26
Colin Angus Mackay17-Jun-09 14:26 

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.