dbTalk Databases Forums  

Making use of an OLEDB provider without installing it

comp.databases.ms-access comp.databases.ms-access


Discuss Making use of an OLEDB provider without installing it in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
The Frog
 
Posts: n/a

Default Making use of an OLEDB provider without installing it - 08-01-2012 , 03:55 AM






Hi Everyone,

I am wondering if anyone has ever manager to make use of an OLEDB provider (in this case MySql or SQL Server, or even SQLite) without actually installing the driver to the machine. It is not an urgent matter, just one of curiosity given one of the scenarios that I am currently dealing with. An idle thought if you will.

Cheers

The Frog

Reply With Quote
  #2  
Old   
Bob Barrows
 
Posts: n/a

Default Re: Making use of an OLEDB provider without installing it - 08-01-2012 , 05:33 AM






The Frog wrote:
Quote:
Hi Everyone,

I am wondering if anyone has ever manager to make use of an OLEDB
provider (in this case MySql or SQL Server, or even SQLite) without
actually installing the driver to the machine. It is not an urgent
matter, just one of curiosity given one of the scenarios that I am
currently dealing with. An idle thought if you will.

OK, I'll bite. My answer is "No". If the provider is not installed on the
machine running the code that attempts to utilize it, an error will be
raised.

Reply With Quote
  #3  
Old   
Douglas J Steele
 
Posts: n/a

Default Re: Making use of an OLEDB provider without installing it - 08-01-2012 , 06:43 AM



Can't think of any reason why it should be possible! Would seem to be
similar to trying to automate Excel from Access without Excel being
installed!


"The Frog" wrote in message
news:a08c9dfc-cd2d-4e91-8346-19724a31b32e (AT) googlegroups (DOT) com...

Hi Everyone,

I am wondering if anyone has ever manager to make use of an OLEDB provider
(in this case MySql or SQL Server, or even SQLite) without actually
installing the driver to the machine. It is not an urgent matter, just one
of curiosity given one of the scenarios that I am currently dealing with. An
idle thought if you will.

Cheers

The Frog

Reply With Quote
  #4  
Old   
The Frog
 
Posts: n/a

Default Re: Making use of an OLEDB provider without installing it - 08-02-2012 , 06:56 AM



Hi guys,
I kind of figured it would be that way but had to consider the
possibility of a wrapper around a .dll or something similar. I am
looking at pushing and pulling some data from SQLite files to speed
up populating my tables. ETL is a bit heavy handed for this, but
without being able to install the drivers I will have to do it that
way. Maybe its possible to put a wrapper around SQLite directly? I
have never tried it.

The Frog

--
Cheers

The Frog

Reply With Quote
  #5  
Old   
Tony Toews
 
Posts: n/a

Default Re: Making use of an OLEDB provider without installing it - 08-02-2012 , 11:24 PM



On Wed, 1 Aug 2012 01:55:30 -0700 (PDT), The Frog
<mr.frog.to.you (AT) googlemail (DOT) com> wrote:

Quote:
I am wondering if anyone has ever manager to make use of an OLEDB provider (in this case MySql or SQL Server, or even SQLite) without actually installing the driver to the machine. It is not an urgent matter, just one of curiosity given one of the scenarios that I am currently dealing with. An idle thought if you will.
I'm very hazy on what OLEDB is compared to DAO, ADO, etc. However
DAO and ADO are part of the operating system and have been since
Windows 2000. So will those suffice for, at least, basic SQL Server?

Tony
--
Tony Toews, Microsoft Access MVP
Tony's Main MS Access pages - http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
For a convenient utility to keep your users FEs and other files
updated see http://www.autofeupdater.com/

Reply With Quote
  #6  
Old   
Bob Barrows
 
Posts: n/a

Default Re: Making use of an OLEDB provider without installing it - 08-03-2012 , 05:54 AM



Tony Toews wrote:
Quote:
On Wed, 1 Aug 2012 01:55:30 -0700 (PDT), The Frog
mr.frog.to.you (AT) googlemail (DOT) com> wrote:

I am wondering if anyone has ever manager to make use of an OLEDB
provider (in this case MySql or SQL Server, or even SQLite) without
actually installing the driver to the machine. It is not an urgent
matter, just one of curiosity given one of the scenarios that I am
currently dealing with. An idle thought if you will.

I'm very hazy on what OLEDB is compared to DAO, ADO, etc.
OLEDB is what is used by ADO to communicate with databases via OLEDB
providers. Most rdbms have native providers to allow direct access to them.
Some don't so the use of the OLEDB provider for ODBC is required to
communicate through a second ODBC layer.

DAO ccommunicates with Jet directly, and to other databases via ODBC.

Quote:
However
DAO and ADO are part of the operating system and have been since
Windows 2000. So will those suffice for, at least, basic SQL Server?

That I did not know. I thought they were installed when applications using
them were installed, such as Access. Does one still have to go to MS and get
the Jet Components installer to get the Jet OLEDB provider onto a machine?
When installing SQL Server, there is an option to install the client
connectivity tools which include the native OLEDB provider as well as the
native ODBC provider, so I'm a bit doubtful that they are included with the
OS.

Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.