30
votes
5answers
10k views

Excel interop: _Worksheet or Worksheet?

I'm currently writing about dynamic typing, and I'm giving an example of Excel interop. I've hardly done any Office interop before, and it shows. The MSDN Office Interop tutorial for C# 4 uses the ...
22
votes
10answers
8k views

How can I programatically create, read, write an excel without having office installed?

I'm confused as hell with all the bazillion ways to read/write/create excel files. VSTO, OLEDB, etc, but they all seem to have the requirement that office must be installed. Here is my situation: I ...
21
votes
4answers
13k views

How to detect installed version of MS-Office?

Does anyone know what would be the best way to detect which version of Office is installed? Plus, if there are multiple versions of Office installed, I'd like to know what versions they are. A bonus ...
19
votes
7answers
10k views

Resources for learning c# Excel interop

What are some resources that will help get me up and running quickly with the Excel interop in C#?
18
votes
4answers
18k views

Creating PowerPoint presentations programmatically

Is there a way to programmatically create PowerPoint presentations? If possible, I'd like to use C# and create PowerPoint 2003 presentations.
13
votes
2answers
23k views

Cell color changing In Excel using C#

I am using a Windows application for exporting a data table to Excel. It's working. Now I want to give some color for particular text in the cell. How shall I do this?
9
votes
3answers
929 views

How to produce documents (docx or pdf) from SQL Server?

I know this is a little subjective, but I'm looking into the following situation: I need to produce a number of documents automatically from data in a SQL Server database. There will be an MVC3 app ...
8
votes
5answers
12k views

How to extract text from MS office documents in C#

I was trying to extract a text(string) from MS Word (.doc, .docx), Excel and Powerpoint using C#. Where can i find a free and simple .Net library to read MS Office documents? I tried to use NPOI but i ...
8
votes
2answers
6k views

How to develop a Microsoft Office AddIn without Visual Studio

I'm trying to develop an MS Office Addin in C# .Net and I don't have access to Visual Studio. Instead I'm using SharpDevelop as my IDE, (but my question is equally relevant to anyone developing using ...
8
votes
2answers
225 views

Is there any way I can integrate the MS Office Smooth Typing in a C# application?

In my opinion the MS Office Smooth Typing is a very innovating feature in the Office Suite, and I'd like to know if this feature is available for programmers in the .NET Framework, specifically in the ...
6
votes
2answers
825 views

Word Interop Copy Formated Text of Table Cell

I am writing an addin for word to automate editing of a protocol template. In the template is a table and I want to extract/copy the formated text of a cell inside this table. Right now I am doing ...
6
votes
1answer
3k views

How would you convert any document to a preview image?

I am using .NET and am looking for a way to convert just about any document into a preview image. I say any, but the priorities are Office Documents, PDF, and most image files. I would assume that I ...
6
votes
2answers
524 views

How to get mouse click event on the Inbox pane when a user selects an email

I am creating a addin for Office 2007 using C#. This addin is responsible to display email header information in a new pane whenever a user clicks on email from email list within Inbox pane. Now I am ...
5
votes
7answers
286 views

What would be the best chioce, Windows Forms or WPF development in C#?

When learning the C# language. With all the applications being developed these days. Would I be better off focusing on windows forms development or WPF development. I want to develop software that ...
5
votes
2answers
11k views

MS Word Office Automation - Filling Text Form Fields And Check Box Form Fields And Mail Merge

Does anyone have any good advice or experience on how to create an engine using C# (VB.NET is okay too) that is generic enough to handle most cases of MS Word text fields I need to fill with data I'm ...

1 2 3 4 5 28
15 30 50 per page