Outline ·
[ Standard ] ·
Linear+
Can't connect into Access database file
|
TSMarcus
|
Feb 12 2006, 03:47 PM, updated 20y ago
|
Getting Started

|
I have a weird problem here. I'm using VB6 to connect to an Access database file. Whenever i try to connect my VB6 project to an Access 2002 database file, it can't recognized it. But when i connect it to an Access 97 database file, it works without any problems.
Any reason about this?
|
|
|
|
|
|
PrinceHamsap
|
Feb 12 2006, 04:08 PM
|
|
vb6 only can connect to access 97 .. perhaps other can ... if there is pathces
|
|
|
|
|
|
TSMarcus
|
Feb 12 2006, 04:48 PM
|
Getting Started

|
Oh..ic. So, i guess VB.net can connect to Access 2000 and above la.
What's pathces?
|
|
|
|
|
|
Seventh7
|
Feb 12 2006, 09:18 PM
|
|
QUOTE(PrinceHamsap @ Feb 12 2006, 04:08 PM) vb6 only can connect to access 97 .. perhaps other can ... if there is pathces no la...vb can connect to any database as long u have a proper database driver for the connection string.. i think in this case, there is a problem with ur connection string or database driver.
|
|
|
|
|
|
rebel without a cause
|
Feb 12 2006, 09:23 PM
|
Getting Started

|
QUOTE(Seventh7 @ Feb 12 2006, 09:18 PM) no la...vb can connect to any database as long u have a proper database driver for the connection string.. i think in this case, there is a problem with ur connection string or database driver. yea, what he said.
|
|
|
|
|
|
EpsilonStar
|
Feb 12 2006, 09:42 PM
|
|
yeah... need to use the correct jet driver... i use vb6 to connect to access 2003 w/o prob...
|
|
|
|
|
|
TSMarcus
|
Feb 13 2006, 12:38 AM
|
Getting Started

|
QUOTE(EpsilonStar @ Feb 12 2006, 09:42 PM) yeah... need to use the correct jet driver... i use vb6 to connect to access 2003 w/o prob... If that's the case, then what's the correct jet driver that u use? Can you recall the specific driver?
|
|
|
|
|
|
Seventh7
|
Feb 13 2006, 09:46 AM
|
|
if im not mistaken use jet 4
|
|
|
|
|
|
EpsilonStar
|
Feb 13 2006, 11:04 AM
|
|
^ yeah i went check just now, it's Jet version 4.... ver 3.5 is older version of office...
|
|
|
|
|
|
TSMarcus
|
Feb 14 2006, 12:04 AM
|
Getting Started

|
Yes, guys. I just tried out the driver that u mentioned n it work.  Thanks for the help.
|
|
|
|
|
|
Michael83
|
Feb 16 2006, 05:15 PM
|
Getting Started

|
may I ask... VB with access db... can I make the access db become server style?? Means that one pc is become db store and other pc can access the db. Thank you very much...
|
|
|
|
|
|
shinchan^^
|
Feb 16 2006, 05:26 PM
|
|
yes, but when someone is openning the access how does theother person access it when is locked?
i suggest use sql server better
|
|
|
|
|
|
Seventh7
|
Feb 16 2006, 08:55 PM
|
|
unless u are making ur application as a server application, so that every client communitate to the db through ur server application.
|
|
|
|
|
|
Michael83
|
Feb 16 2006, 11:19 PM
|
Getting Started

|
can anybody teach me how to write db in sql server? Beside that, as Seventh7 told... So anybody can give me example of source code or program that show the application be a server application? Thank you a lot.
|
|
|
|
|
|
SUSAcey
|
Feb 17 2006, 12:18 AM
|
|
hmm another fella with same case as mine
|
|
|
|
|
|
yingchai
|
Feb 17 2006, 02:40 AM
|
|
QUOTE(Michael83 @ Feb 16 2006, 11:19 PM) can anybody teach me how to write db in sql server? Beside that, as Seventh7 told... So anybody can give me example of source code or program that show the application be a server application? Thank you a lot. dude...try this, really helps: SQL edit: sorry for the broken link --> SQLThis post has been edited by yingchai: Feb 17 2006, 03:38 PM
|
|
|
|
|
|
Michael83
|
Feb 17 2006, 07:08 AM
|
Getting Started

|
QUOTE(yingchai @ Feb 17 2006, 02:40 AM) dude...try this, really helpful: SQLI tried to click SQL link as yingchai said. But cannot get thru wor... YingChai,can give the link again? thanks.
|
|
|
|
|
|
TSMarcus
|
Feb 17 2006, 11:07 AM
|
Getting Started

|
QUOTE(Acey @ Feb 17 2006, 12:18 AM) hmm another fella with same case as mine Izit me or Michael83? Yes, i think i heard of ur case b4.
|
|
|
|
|