Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to open db.db file

 
srilatha malip
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 688
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 688
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No problem.
Glad I can help!
 
Paul Smiley
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suggest Ultraedit
it is by best friend
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic