PC Review


Reply
Thread Tools Rate Thread

connecting to mdw protected database

 
 
Jan Alsenz
Guest
Posts: n/a
 
      11th Jul 2003
Hello,

I'm trying to open a connection (ADO) via the
Microsoft.Access.OLEDB.10.0 provider to a mdb-file wich
has a custom mdw-file (the same as the file I'm
connecting from).
My problem is how can I pass the mdw-file to the
Microsoft.Jet.OLEDB.4.0 data-provider.

I'm using AccessXP.

Thanks,

Jan Alsenz
 
Reply With Quote
 
 
 
 
Mike M
Guest
Posts: n/a
 
      15th Jul 2003
Either add this key-value pair to the connection string or to the Properties
collection

Jet OLEDB:System Database = <path to workgroup info file.mdw>



"Jan Alsenz" <(E-Mail Removed)> wrote in message
news:05c301c34783$40a6d8b0$(E-Mail Removed)...
> Hello,
>
> I'm trying to open a connection (ADO) via the
> Microsoft.Access.OLEDB.10.0 provider to a mdb-file wich
> has a custom mdw-file (the same as the file I'm
> connecting from).
> My problem is how can I pass the mdw-file to the
> Microsoft.Jet.OLEDB.4.0 data-provider.
>
> I'm using AccessXP.
>
> Thanks,
>
> Jan Alsenz



 
Reply With Quote
 
Jan Alsenz
Guest
Posts: n/a
 
      15th Jul 2003
Hi,

thanks for the answer, but I'd already tryed that. This
works only when the provider is "Microsoft.Jet.OLEDB.4.0"
and not if the provider is "Microsoft.Access.OLEDB.10.0"
with data-provider "Microsoft.Jet.OLEDB.4.0".
But I worked it out.
You can pass properties to the data-provider by using:

Connection.Properties("Extended Properties").Value = "Jet
OLEDB:System Database=" + <path to workgroup info
file.mdw>

Regards,

Jan Alsenz

>-----Original Message-----
>Either add this key-value pair to the connection string

or to the Properties
>collection
>
>Jet OLEDB:System Database = <path to workgroup info

file.mdw>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting to a password protected mdb file IgorM Microsoft Access Macros 0 8th Apr 2010 09:33 PM
connecting to files in password protected folder =?Utf-8?B?Y21sZWRiZXR0ZXI=?= Microsoft Access Security 0 22nd Aug 2007 10:16 PM
Automatically Connecting to WPA Protected Wireless Network =?Utf-8?B?Q2hyaXN0b3BoZXIgSXNoZXJ3b29k?= Windows XP Networking 4 20th Mar 2006 01:29 AM
Connecting to Password Protected MS Access DB A P Microsoft Access 11 20th Jul 2005 03:48 PM
connecting to mdw protected database Jan Alsenz Microsoft Access 1 15th Jul 2003 08:46 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:47 PM.