Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to extend Excel with custom data provider?

Hello!
I have written a custom ADO.NET data provider. When the user clicks the
button for importing data, I want my provider to display in the list of
providers. But I don't see how that is being done inside Excel, or any other
Office application.

Is this possible using my ADO.NET provider or do I have to write a OLEDB
provider?


Best regards,
Vemund Haga
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default How to extend Excel with custom data provider?

The unmanaged world of Excel and VBA knows nothing about NET, so I
don't think you can use a NET provider in VBA. Depending on your
needs, you could create a code-behind workbook or a NET add-in using
Visual Studio Tools For Office (VSTO), but if you don't want to do
that, I think you'll have to create an OLEDB provider.

Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group, 1998 - 2009
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)


On Thu, 12 Feb 2009 06:41:00 -0800, Vemund Haga <Vemund
wrote:

Hello!
I have written a custom ADO.NET data provider. When the user clicks the
button for importing data, I want my provider to display in the list of
providers. But I don't see how that is being done inside Excel, or any other
Office application.

Is this possible using my ADO.NET provider or do I have to write a OLEDB
provider?


Best regards,
Vemund Haga

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to extend Excel with custom data provider?

Many thanks for your answer. I forgot that .NET hasn't conquered all the
world :-)

\\Vemund

"Chip Pearson" wrote:

The unmanaged world of Excel and VBA knows nothing about NET, so I
don't think you can use a NET provider in VBA. Depending on your
needs, you could create a code-behind workbook or a NET add-in using
Visual Studio Tools For Office (VSTO), but if you don't want to do
that, I think you'll have to create an OLEDB provider.

Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group, 1998 - 2009
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)


On Thu, 12 Feb 2009 06:41:00 -0800, Vemund Haga <Vemund
wrote:

Hello!
I have written a custom ADO.NET data provider. When the user clicks the
button for importing data, I want my provider to display in the list of
providers. But I don't see how that is being done inside Excel, or any other
Office application.

Is this possible using my ADO.NET provider or do I have to write a OLEDB
provider?


Best regards,
Vemund Haga


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2007 external data source extend table refresh garyn Excel Discussion (Misc queries) 0 October 10th 08 07:37 PM
EXCEL: OLE DB provider for OLAP Services 8.0 Missing nigeaman Excel Programming 2 April 3rd 07 11:23 AM
OLE DB Provider and Excel David Mullins Excel Programming 1 June 26th 06 08:20 PM
Excel schema using Jet OLEDB Provider? mike Excel Programming 1 December 22nd 03 09:25 AM
Connectiong to an Excel Workbook with MSDASQL provider Patrick Molloy[_3_] Excel Programming 0 July 10th 03 12:55 PM


All times are GMT +1. The time now is 01:46 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"