HighTechTalks DotNet Forums  

Can't Make New Data Connection`

Dotnet Data Tools microsoft.public.dotnet.datatools


Discuss Can't Make New Data Connection` in the Dotnet Data Tools forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
JamesJ
 
Posts: n/a

Default Can't Make New Data Connection` - 08-06-2006 , 07:29 AM






I'm getting a bit frustrated.
1) I want to evaluate Access 2007 Beta but can't install it
and posting the question concerning this produces no
rewsponse from these geniuses.

2) Going to abandon Access 2003 and use some other database
or programming language.

3)Try Microsoft Visual Basic 2005 Express Edition.
but can't even make a connection to my existing data.
And again, posted the question concerning this produces no
answers.
I would call Microsoft tech support but I already have a
second mortgage on my home so I can't get a loan.

No one seems to have any answers.

Here's my question:

Just installed Visual Basic 2005 Express Edition.
When attempting to link to a data source which
is a ms access database I get the following error (if I wrote it
down properly).
Format of the initialization string does not conform to
specification starting at 0.

I thought it would be a but easier to expose the project to
my data, but no.
What should the value be for the Connection String? The path
to the mdb?

James



Reply With Quote
  #2  
Old   
AT
 
Posts: n/a

Default Re: Can't Make New Data Connection` - 08-09-2006 , 04:04 AM






Personnaly, this run for me :

Dim conn as OleDb.OleDbConnection
conn New OleDb.OleDbConnection("provider=microsoft.jet.oled b.4.0;" &
"data source='" & pathOfTheDB & "';")



JamesJ a écrit :

Quote:
What should the value be for the Connection String? The path
to the mdb?


Reply With Quote
  #3  
Old   
JamesJ
 
Posts: n/a

Default Re: Can't Make New Data Connection` - 08-10-2006 , 05:25 PM



And where do I insert this? I get the same error when
I insert it into the ConnectionString in the Add Connection
dialog.

James

<tsalm (AT) free (DOT) fr> wrote

Personnaly, this run for me :

Dim conn as OleDb.OleDbConnection
conn New OleDb.OleDbConnection("provider=microsoft.jet.oled b.4.0;" &
"data source='" & pathOfTheDB & "';")



JamesJ a ?crit :

Quote:
What should the value be for the Connection String? The path
to the mdb?



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.