Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 04-19-2003, 12:03 AM   #1
Member (8 bit)
 
Join Date: Jul 2002
Posts: 176
VB connection to Access

Hi
I can not connect VB to Access.
I have VB 6.0 ENterprise and Access Xp with default at 2000 format.
I am trying to connect with ADo using Jet engine
Each time I try to connect it says "Database not recognized"
If I convert to Access 97 it works
In the property window I choose "Connect" then I go to Access
What is interesting it doesn't show Access 2000 and in my school the option for 2000 is possible
That is probably the problem but I don't know how to solve it
eko976 is offline   Reply With Quote
Old 04-19-2003, 11:33 PM   #2
Member (8 bit)
 
Join Date: Jul 2002
Posts: 176
Anybody knows?
eko976 is offline   Reply With Quote
Old 04-24-2003, 08:34 AM   #3
Member (7 bit)
 
Join Date: Apr 2002
Location: Petoskey/ MI
Posts: 67
vb connection

Since no one else with more credentials is replying, I take a stab at it. Try this

Create a file of type text with Notepad and save it with the extension .udl
Double clicking on this file brings up the connection wizard. Click on the Provider Tab and select Microsoft Jet 4.0 OL DB Provider.
Click on the Connection Tab and select the ellipse and browse to select your Microsoft Access Database. .
Test the Connection. If the Ok screen appears, your connection string is setup properly.
Close the Wizard.
Go into MyComputer and drag the file you just created into an instance of Notepad.
Open Notepad, you will see the connection string..

This is how I check to see if my stuff is correct. I mostly use ASP.NET (vb) in web applications, so I am definately not an authority on this. I hope it helps.
kingsucka is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes 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 On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:57 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2