Advertisement

04.17.2008 at 01:48AM PDT, ID: 23330132
[x]
Attachment Details

Using VSTO to read Excel data into VB.Net application

Asked by ccravenbartle in Visual Studio .NET 2005, Microsoft Excel Spreadsheet Software

I am developing a VB.Net application that runs on a server which opens and reads data from Excel files into a SQL Server table.  

I cannot use the COM Excel interop approach as the customer will not allow me to install Excel on the server and, as I understand it, the Excel.Application() class is part of a COM component that is only available after Excel has been installed.

I understand that VSTO allows the developer to create VS solutions that access Office applications without having to install Microsoft Office on the target server.  However, I have never used VSTO and do not know where to start.  

Could someone provide me with the code for a VB.Net application that simply opens an Excel spreadsheet using VSTO and displays the contents of cell A1 : "Hello World".

URGENT

Start Free Trial
[+][-]04.21.2008 at 04:43AM PDT, ID: 21400552

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Visual Studio .NET 2005, Microsoft Excel Spreadsheet Software
Sign Up Now!
Solution Provided By: rorya
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628