The moose likes Developer Certification (SCJD/OCMJD) and the fly likes how to open db.db file Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Developer Certification (SCJD/OCMJD)
Reply Bookmark "how to open db.db file" Watch "how to open db.db file" New topic
Author

how to open db.db file

srilatha malip
Greenhorn

Joined: Feb 08, 2001
Posts: 21
Hi all,
Can any one please suggest me, how to open database file db.db file. I tried with notepad, but it's not showing perfectly. Can we open it at sql prompt, I wanted to see it in exact row/cloumn pattern.
Thanks,
Srilatha.
Adrian Yan
Ranch Hand

Joined: Oct 02, 2000
Posts: 688
Remember, it's a binary file, so you can't open it like a text file.
You will have to write a program using the Data class, reading in the db and print them out to console or some text file.
srilatha malip
Greenhorn

Joined: Feb 08, 2001
Posts: 21
Thanks a lot Adrian. Ya, it's a binary file. But, I was thiking of writing all the airport codes in the combobox..so, I just wanted to see all the codes. Ok, I'll write a program to see the file.
Thanks,
Srilatha.
Adrian Yan
Ranch Hand

Joined: Oct 02, 2000
Posts: 688
No problem.
Glad I can help!
Paul Smiley
Ranch Hand

Joined: Jun 02, 2000
Posts: 244
There is also an animal called a hex editor - which allows you to look inside a binary file - see: http://www.physics.ohio-state.edu/~prewett/hexedit/
ramandeep singh
Greenhorn

Joined: Jun 27, 2001
Posts: 20
I suggest Ultraedit
it is by best friend


Ramandeep Singh
 
 
subject: how to open db.db file
 
Threads others viewed
JFileChooser - To use or not to use
should there be 2 "db.db" files
Can't find suncertify.properties file
Accessing remote file?
appeared in exam, but still not upload my assign. ............need help
IntelliJ Java IDE