conecting to a .dbf file

I am having trouble connecting to a .dbf file. Can anyone help! Plz mention the driver and steps if possible. Thanks Kris
[149 byte] By [kris@sunresortsa] at [2007-10-3 5:25:17]
# 1
What trouble are you having?
sabre150a at 2007-7-14 23:32:29 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 2
> What trouble are you having?That's what he is asking man you just tell the answer only. Dont send these kind of post next time ...please.
syz@yahoo.coma at 2007-7-14 23:32:29 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 3

> > What trouble are you having?

>

> That's what he is asking man you just tell the answer

> only. Dont send these kind of post next time

> ...please.

Stop being such a complete jacka$$ please.

Thank you.

Nobody can tell what the answer is because there hasn't been a question yet you stupid man.

cotton.ma at 2007-7-14 23:32:29 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 4

> Stop being such a complete jacka$$ please.

>

> Thank you.

>

> Nobody can tell what the answer is because there

> hasn't been a question yet you stupid man.

same to you I think your also one of that?Brids are having same futher so fleck together?

syz@yahoo.coma at 2007-7-14 23:32:29 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 5
what are you doing ?helping some body in trouble with java or try to proof who is more clever or stupid ?I'm sorry but I dont know how to connect your file if you asked about ms access I could help you..
seyfa at 2007-7-14 23:32:29 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 6

> > Stop being such a complete jacka$$ please.

> >

> > Thank you.

> >

> > Nobody can tell what the answer is because there

> > hasn't been a question yet you stupid man.

>

>

> same to you I think your also one of that?Brids are

> having same futher so fleck together?

Look. YOU signed up and posted three messages in different threads like this where you think someone was mistreated or something.

Talk about wasting space!

If you believe the OP's question can be answered because your great gifts for mind reading can see what compile or runtime error or unexpected output the OP has then please go right ahead and answer the question.

Posting assaults on others to complain they are not answering is just stupid. If you feel you know the answer then give it. Otherwise shut up.

cotton.ma at 2007-7-14 23:32:29 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 7

> > What trouble are you having?

>

> That's what he is asking man you just tell the answer

> only. Dont send these kind of post next time

> ...please.

I tell the car mechanic - my car is not working! The mechanic says to me - what are the symptoms?

I don't read minds and might be able to help the OP if I know what the symptoms of the problem are.

'syz@yahoo.com' - go F*ck yourself

sabre150a at 2007-7-14 23:32:29 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 8

hey, common enough of this time wasting!!! I'll try to be clearer.

I know how to make a connection using MS Access, but when you do the same thing using a .dbf file it doesn't work. The ODBC datasource asks for 'selecting indexes'.

So if anyone has ever succeeded in making a connection with a .dbf file please let me know how.

Thanks

kris@sunresortsa at 2007-7-14 23:32:29 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 9

> hey, common enough of this time wasting!!! I'll try

> to be clearer.

>

What "time wasting" ? I just asked what problems you were having. It is you who have wasted 2 days.

> I know how to make a connection using MS Access,

> but when you do the same thing using a .dbf file it

> doesn't work. The ODBC datasource asks for

> 'selecting indexes'.

This very important bit of information was missing from your original post.

Worked for me on Windows 98 and 2000 a few years ago. Since we can't see your code and have no idea what the structure of your tables is it is going to be difficult for anyone to help. You might be lucky and find someone who has met this particular problem. I haven't so can't help. Have you tried googling the error message?

sabre150a at 2007-7-14 23:32:29 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 10
> hey, common enough of this time wasting!!! I'll try> to be clearer.> Just to let you know I won't be helping you in this thread due to this comment.
cotton.ma at 2007-7-14 23:32:29 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 11
ok then! Thanks a lot. But if anyone knows any interesting sites or articles about connecting to .dbf files, plz notify me.PS: sorry for the confusion
kris@sunresortsa at 2007-7-14 23:32:29 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 12

String databasePath = "C:\\<path>"; /* path to dbase 5.0 o dbase IVchange it*/

String url = "jdbc:odbc:DRIVER={Microsoft dBase Driver (*.dbf)};DBQ=" + databasePath + ";DefaultDir=" + databasePath + ";DriverId=533;FIL=dBase IV;MaxBufferSize=2048;PageTimeout=5;";

Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");

con = DriverManager.getConnection(url)

andresurbinaa at 2007-7-14 23:32:29 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 13
thanks a lot andresubrina.I opologise to anyone who felt that I was rude, without intending to be.
kris@sunresortsa at 2007-7-14 23:32:29 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 14
oooh im so sensitive and touchy I wont comment - I wont read this thread - grow up and start wearing pants
raj_chandrua at 2007-7-14 23:32:29 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...