Introduction:

Application developed with Visual Basic, Part 0.


Subject: Step by step for creating Visual Basic application .


Info about this application :

  1. Name - TestVB0.
  2. Database Software.
  3. Developed with Microsoft Visual Basic ver 6.0.
  4. Uses the Microsoft Access database file - KJV.mdb.
    The KJV database file stores Part of the Bible data. - (Part of Bible consists of 4 books, every book has a title and consists of several chapters and every chapter consists of several verses)
    The database consists of one table - BibleTable. The table stores more then 3781 records and each record consists of five fields - Book, Title, Chapter, Verse and TextData:
    - The Book field stores the orders of 4 books
    - The Title field stores the titles of all books.
    - The Chapter field stores the orders of all chapters.
    - The Verse field stores the orders of all verses.
    - The Textdata field stores the contents of all verses.
  5. Functions: View and Search.
  6. Requirements: Microsoft Visual Basic 6.0.
  7. The analogue application stored in the folder VB App of the Visual_Basic  folder . For more information, read the readmeVB.htm file.

     
    Technical Note:
       List of available References declaring

       From the File menu, choose Project, choose Reference, dialog box appears,  look picture and select ...
     

     

After running, you can observe the following designs:

  1. The Main Form design - frmMain.frm.
    TestVB0






     
    Learn how to write a Visual Basic application ...

    The functions of the frmMain.frm:

  2. To call the Book Form. - Book frm. - (From Info menu menu, click Book)
  3. To call the About Form - About.frm. - (From Info menu menu, click About)
  4. To unload the current project. - (From Info menu menu, click Exit )
  5. The Book Form design - Book.frm:

    1. The 1st tab page of TabStrip control is selected.
      Book


        .
      .

       


    2. The 2nd tab page of TabStrip control is selected.
      Book


        ..


       

    The functions of the Book.frm :

  6. To display any KJV database record into the Record data boxes.
  7. To move the current record position to the first, last, next, or previous record. - (Click
    the button F, P, N or L )
  8. To call the About Form - About.frm. - (Click the button About)
  9. To unload the current Form. - (Click the button Close)
  10. To search by word: - (1st tab of TabStrip control)
  11. Type a word - (length > 1 characters) in the TextBox, the CommandButton - Cmddisplay set enable.
  12. Click the Cmddisplay, two types of information appear:
    1. A list of information about all records of the KJV database include the word you specified will appears in the ListBox - (each list item stores the order of the record corresponding and the values of Book field, Title field, Chapter field and Verse field in this record).
    2. The number of the records found.
  13. Select an item of the list, the record corresponding to the item selected displays into the Record data boxes.
  14. To search by address: - (2nd tab of TabStrip control)
    1. The Title ComboBox stores the titles of all books - ( 4 books). Select an item:
    2. In this ComboBox, displays the item selected.
    3. In the Book ComboBox, displays the order of the book.
    4. The Chapter ComboBox stores all chapters orders of the book and in the current string displays the 1st chapter order.
    5. The Verse ComboBox stores all verses orders of the 1st chapter and in the current string displays the 1st verse order.
    6. Into the Record data boxes, displays the 1st record of the book.
    7. The Book ComboBox stores the orders of all books. Select an item:
    8. In the Title ComboBox, displays the title of the book.
    9. In the Book ComboBox, displays the item selected.
    10. The Chapter ComboBox stores all chapters orders of the book and in the current string displays the 1st chapter order.
    11. The Verse ComboBox stores all verses orders of the 1st chapter and in the current string displays the 1st verse order.
    12. Into the Record data boxes, displays the 1st record of the book.
    13. The Chapter ComboBox stores all chapters orders of the book corresponding to the item displays in the Book ComboBox. Select an item:
    14. In this ComboBox, displays the item selected.
    15. The Verse ComboBox stores all verses orders of the chapter and in the current string displays the 1st verse order.
    16. Into the Record data boxes, displays the 1st record of the book chapter.
    17. TheVerse ComboBox stores all verses orders of the chapter corresponding to the items display in the Chapter and Book ComboBoxes. Select an item:
    18. In this ComboBox, displays the item selected.
    19. Into the Record data boxes, displays the record corresponding to the item selected.
  15. The About Form design - About.frm.

    About ...


    The functions of the About.frm :

  16. To display information about the KJV database.
  17. To call the Biography Form. - Biography frm. - (Click the button Created by)
  18. To unload the current Form. - (Click the button Done)
  19. The Biography Form design - Biography.frm.

    Biography


    The functions of the Biography.frm :

  20. To display the biography data.
  21. To unload the current Form. - (Click the button Done )

Previous
Home 0 Home
Next