LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default OLEDB Help

I have a problem that I just can not seem to get anywhere with. I have
an exel file that I am connecting to a password protected Acess
database (both on a network drive). I am using OLEDB. The following
is my connection string that works if the database is not protected.

sConnect = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & DBPath

When it is protected I get an error that my reserach seems to indicate
that I need a path to an .mdw file. I do not know much about what this
file is and how to get the address for it. I thought about using ODBC.
Is this the best option and if so can someone give me a example of an
ODBC connection string? Or how I can find the path to the .mdw file?
Will this be a problem if various people will be using the file?
Thanks an advance.

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Microsoft.ACE.OLEDB.12.0 - BUG Sven Pran Excel Discussion (Misc queries) 0 July 8th 08 06:42 PM
OLEDB on x64 2.0 framework Sriram Excel Programming 0 March 29th 06 10:42 PM
Using OleDB to get data from Excel dvd00 Excel Discussion (Misc queries) 1 November 30th 04 04:32 PM
Bug in OLEDB ? Ric[_4_] Excel Programming 4 June 8th 04 11:45 AM
EXCEL AND OLEDB Yama Excel Programming 4 February 25th 04 03:29 PM


All times are GMT +1. The time now is 07:03 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"