Click here to Skip to main content
15,898,849 members
Please Sign up or sign in to vote.
1.38/5 (4 votes)
See more:
Hello, i am totally new to visual basic.net, and i love it!! i am doing a project that must be handed in a months time, i chose to do a bible software.
Basically the app with have differnet bible version, and have the ability to go to any book,chapter and verse, by simply typing in the text box. and also have a keyword search option.

any ideas on how i can get this done?

do i get the bibles as text files?
if the go into a databse how to it ? verse per cell, chapter per cell, etc?

Whats my starting point?

im 2 months in course now, but i am doing alot of reading outside of course.
lecturer threw us in deep end stating, est way to learn, is to try it out.

i have wanted to create my own bible app for awhile, so i thought why not start and use it for my project


*********UPDATE**********
Thanks guys for the help to get going, i have another question

i have loaded my database into a list box.....user uses textbox to search for a specific scripture..... the scripture he wants becomes the first item on the list followed by verse after that 1....

my question is if i have another list box.....(that will behave like a bookmark feature)
ie....lets say the user search for john1:1 then he wants to keep that scripture and look for another one so he can drag john1:1 from the scripture listbox to the other list box (bookmark type) and search for another and drag that to the other, now when he double clicks the any of the dragged ones eg john1:1, it must appear again.

any ideas how to do this
Posted
Updated 31-Dec-17 20:22pm
v2

If you use database, it will become more faster than files...
If you need to make it portable, You can use access database for storing the verses..
Table might look like this

C++
BookID   |   Chapter   |   Verse   |  Text
------------------------------------------------------
102      |     1       |   25      |  Text goes here
------------------------------------------------------
102      |     1       |   26      |  Text goes here
------------------------------------------------------
etc....

and you will have another table with 

BookName     |     BookID
-----------------------------------
John         |     102
-----------------------------------
Mathew       |     101


maybe like this...
you can even create another application to enter the verses and creating books chapters....
 
Share this answer
 
Comments
DonChen22 22-Aug-13 9:10am    
thank you for the insight, i have started doing it
On one side you will have the internal representation of the text; could be bare text or HTML. Can be simply stored in memory as a huge string. Make sure that the books, chapters and verses are tagged so that you can easily delimit them by scanning the string. For efficient searches, you will pre-scan this string and note the interesting locations in an index.

On the other side, you will need a display window to render the text. This will be a TextBox or a RichTextBox. You will fill it on demand, depending on what the reader is currently looking at, making sure that a full page is loaded. (Do not fill it with the whole Bible or refreshing will give you an idea of Eternity :-)). When scrolling or jumping to other locations, you will update the window content and monitor the mapping of the visible rows.

You can also show the index of chapters and verses using a TreeView control.

You will get the text from available Web resources and translate it to your format if required, making sure the sections can be detected. Single file or multi-files storage is possible.

If I were you, I would start with a simple version for short text and improve the internal and external representations step by step.
 
Share this answer
 
Comments
DonChen22 22-Aug-13 9:10am    
thank you, appreciate the input

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900