OleDbConnectionString Vista



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.

Thanks for any hint!
Patrick


.



Relevant Pages

  • Re: ADO Connection Object / Vista
    ... registry key may or may not be related: ... in my VC++ program I use the following code to create a connection object: ... Under Windows Vista I get ... even if UAC is disabled. ...
    (microsoft.public.win32.programmer.ole)
  • OleDbConnectionString / Vista
    ... in my VC++ program I use the following code to create a connection object: ... Under Windows Vista I get hr=0x80040154 ... even if UAC is disabled. ... I installed on the machine MDAC 2.8 but it seems to have no effect. ...
    (microsoft.public.dotnet.framework.adonet)
  • ADO Connection Object / Vista
    ... in my VC++ program I use the following code to create a connection object: ... Under Windows Vista I get hr=0x80040154 ... even if UAC is disabled. ... I installed on the machine MDAC 2.8 but it seems to have no effect. ...
    (microsoft.public.win32.programmer.ole)