OleDbConnectionString Vista
- From: "Dr. Patrick Havel" <patrick.havel@xxxxxxx>
- Date: Wed, 20 Dec 2006 14:29:16 +0100
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
.
- Follow-Ups:
- Re: OleDbConnectionString Vista
- From: Bob Barrows [MVP]
- Re: OleDbConnectionString Vista
- Prev by Date: Re: SQLHelper output parameters problem
- Next by Date: Creating Access Database with ADO through VB6
- Previous by thread: Re: SQLHelper output parameters problem
- Next by thread: Re: OleDbConnectionString Vista
- Index(es):
Relevant Pages
|
|