Re: OleDbConnectionString Vista



And what was the solution?

Dr. Patrick Havel wrote:
Hi Bob,
I know it now: The ADO Functions are in Vista built in. Because I
installed MDAC 2.8 I destroyed the registry for msado15.dll. That´s
the reason. Patrick.

"Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx> schrieb im Newsbeitrag
news:eldKuEEJHHA.3268@xxxxxxxxxxxxxxxxxxxxxxx
Dr. Patrick Havel wrote:
Hello *,

in my VC++ program I use the following code to create a connection
object:

"m_sCreateString.Format("Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=%s.mdb;Persist Security Info=True;",m_sPfad);"
// Connection Object erstellen
hr = m_pConn.CreateInstance(__uuidof(Connection));"

It works correctly under W2K and XP. Under Windows Vista I get
hr=0x80040154 (Class not registered) even if UAC is disabled.
I installed on the machine MDAC 2.8 but it seems to have no effect.

I don't know the answer to this. If you don't get an answer here, you
should try the adonet group
(microsoft.public.dotnet.framework.adonet) as well as a Vista group. If
you find an answer, we would appreciate
it if you would share it with us here.

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get
a quicker response by posting to the newsgroup.

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"


.



Relevant Pages