Re: OleDbConnectionString Vista



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.




.



Relevant Pages

  • Re: How can I configure Time Zone Automatically?
    ... newsgroup that is replicated across thousands upon thousands of other ... Essentially - the Time Zone setting is a registry value. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Registering ActiveX control on Vista
    ... RegOverridePredefKey is actually working just fine on Vista. ... They normally extract the registry keys when creating the ... this is not related to Registry Virtualization. ...
    (microsoft.public.win32.programmer.ole)
  • RE: SHIFT not working-Vista Remote Desktop Client
    ... the Vista Remote Desktop Client to allow the Shift and Alt keys to work (and ... Microsoft CSS Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ... I will re-post to the Vista group you mentioned. ...
    (microsoft.public.windows.server.sbs)
  • Re: Vista Fax and Scan nightmares
    ... I researched your logs and found a similar case on the Vista Fax crash ... Start Windows Fax and Scan ... Microsoft CSS Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ...
    (microsoft.public.windows.server.sbs)
  • Re: Vista and RWW
    ... Microsoft CSS Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ... | Subject: Re: Vista and RWW ... |> Remote Desktop Disconnected" when you try to access RWW from Vista. ...
    (microsoft.public.windows.server.sbs)