Connecting Tech Pros Worldwide Help | Site Map

Need help with connection string in OpenDatabase

 
LinkBack Thread Tools Search this Thread
  #1  
Old November 13th, 2005, 02:04 PM
Jozef
Guest
 
Posts: n/a
Default Need help with connection string in OpenDatabase

Hello,

I have a database that I have passworded. When I try to use OpenDatabase
with the Connect parameter filled in, I keep getting "Not a valid password",
even if I use the actual connect string from one of the tables. I have no
other security on the database, just a single password.

This is what I have;

'----Start Code ----
Dim db as database
Dim dWs as workspace

Set dWs= CreateWorkspace("", "Admin", "")
Set db = dWs.OpenDatabase(strPathFile, , , "MS Access;pwd=MyPassword")
'----End Code ----

Any ideas what's up?

Thanks!



  #2  
Old November 13th, 2005, 02:04 PM
Tom van Stiphout
Guest
 
Posts: n/a
Default Re: Need help with connection string in OpenDatabase

On Tue, 04 Oct 2005 02:41:47 GMT, "Jozef" <me@you.com> wrote:

Connectionstrings are all here:
www.connectionstrings.com/

-Tom.

[color=blue]
>Hello,
>
>I have a database that I have passworded. When I try to use OpenDatabase
>with the Connect parameter filled in, I keep getting "Not a valid password",
>even if I use the actual connect string from one of the tables. I have no
>other security on the database, just a single password.
>
>This is what I have;
>
>'----Start Code ----
>Dim db as database
>Dim dWs as workspace
>
> Set dWs= CreateWorkspace("", "Admin", "")
>Set db = dWs.OpenDatabase(strPathFile, , , "MS Access;pwd=MyPassword")
>'----End Code ----
>
>Any ideas what's up?
>
>Thanks!
>[/color]

  #3  
Old November 13th, 2005, 02:04 PM
Jozef
Guest
 
Posts: n/a
Default Re: Need help with connection string in OpenDatabase

Thanks Tom, I had already run the gammut of connection strings which all
gave me the same error.

"Tom van Stiphout" <no.spam.tom7744@cox.net> wrote in message
news:8lt3k1tnjbeuij84314f9blgbtcigqdogj@4ax.com...[color=blue]
> On Tue, 04 Oct 2005 02:41:47 GMT, "Jozef" <me@you.com> wrote:
>
> Connectionstrings are all here:
> www.connectionstrings.com/
>
> -Tom.
>
>[color=green]
>>Hello,
>>
>>I have a database that I have passworded. When I try to use OpenDatabase
>>with the Connect parameter filled in, I keep getting "Not a valid
>>password",
>>even if I use the actual connect string from one of the tables. I have no
>>other security on the database, just a single password.
>>
>>This is what I have;
>>
>>'----Start Code ----
>>Dim db as database
>>Dim dWs as workspace
>>
>> Set dWs= CreateWorkspace("", "Admin", "")
>>Set db = dWs.OpenDatabase(strPathFile, , , "MS Access;pwd=MyPassword")
>>'----End Code ----
>>
>>Any ideas what's up?
>>
>>Thanks!
>>[/color]
>[/color]


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,662 network members.