PC Review


Reply
Thread Tools Rate Thread

Accessing Excel 2007 from Visual studio 2005 on Windows 7 machine

 
 
sagars76
Guest
Posts: n/a
 
      29th Oct 2009
I am using the following connection string to access the data on excel 2007
on windows 7 machine with visual studio 2005
public static readonly string JetConnectionString =
"Provider=Microsoft.ACE.OLEDB.12.0;Data
Source=..\\..\\..\\DataMiningUserinterface.xlsx;Extended Properties=" + "\""
+ "Excel 12.0;HDR=YES;" + "\"" + ";";
but it is giving me an error that "The 'Microsoft.ACE.OLEDB.12.0' provider
is not registered on the local machine." I installed the driver for Office
2007 components and it still gives me the same error. Please let me know how
I can register these components and read the data from excel.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ultimate Dev Machine for Visual Studio 2005 SP1/ Orcas =?Utf-8?B?c21pbGx5?= Microsoft C# .NET 11 15th Feb 2007 11:52 AM
Re: Building VC++ 8.0 code on a machine without Visual Studio 2005 William DePalo [MVP VC++] Microsoft VC .NET 18 6th Feb 2007 11:15 PM
Re: Building VC++ 8.0 code on a machine without Visual Studio 2005 Carl Daniel [VC++ MVP] Microsoft VC .NET 0 29th Jan 2007 04:58 PM
Production vb6 and visual studio 2005 on the same machine =?Utf-8?B?VG9iaW4=?= Microsoft Dot NET 4 20th Jun 2006 09:20 PM
Visual Studio 2005 Beta 1 Refresh vs Visual Studio 2005 CTP vs Visual C++ 2005 Express Beta1 Peter Nimmo Microsoft VC .NET 1 16th Dec 2004 03:30 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:21 PM.