Introduction:

Application developed with Microsoft Visual C++, Part 0


Subject: Step by step for creating Visual C++ application.


Info about this application :

  1. Name - TestVC0.
  2. Database Software.
  3. Developed with Microsoft Visual C++  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 all books - (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 stores the contents of all verses.
  5. Functions: View and Search.
  6. Requirements: Microsoft Visual C++ 6.0.
  7. The analogue application stored in the folder VC App of the Visual_C++ folder. For more information, read the readmeVC.htm file

After running, you can observe the following designs :

  1. The IDD_TESTVC0_DIALOG dialog design:

    1. The 1st tab page of the Tab control selected.
      Learn how to write a Visual C++ application ...


    2. The 2nd tab page of the Tab control selected.
      Learn how to write a Visual C++ application ...

    The dialog functions :

  2. To display any KJV database record into the Record data boxes.
  3. To move the current record position to the first, last, next, or previous record. (Using the navigation controls)
  4. To call the IDD_ABOUTBOX dialog. (Click the button - About)
  5. To unload the current dialog. (Click the button - Close)
  6. To search by word: - (1st tab page of the Tab control)
  7. Type a word in the Edit Box, the button - Display set enable.
  8. Click the Display, 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 List control - (each item of this list 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.
  9. Select an item of the list, the record corresponding to the item selected dispalys into the Record data boxes.
  10. To search by address: - (2nd tab page of the Tab control)
    1. The Book combo box stores the orders of all books - (4 books), select an item:
      • In this combo box, displays the item selected.
      • In the Title combo box, displays the title of the book corresponding to the item selected.
      • The Chapter combo box stores all chapters orders of the book and displays the 1st chapter order.
      • The Verse combo box stores all verses orders of the 1st chapter and displays the 1st verse order.
      • Into the Record data boxes, displays the 1st record of the book corresponding to the item selected.
    2. The Title combo box stores the titles of all books, select an item:
      • In this combo box, displays the item selected.
      • In the Book combo box, displays the order of the book corresponding to the item selected.
      • The Chapter combo box stores all chapters orders of the book and displays the 1st chapter order.
      • The Verse combo box stores all verses orders of the 1st chapter and displays the 1st verse order.
      • Into the Record data boxes, displays the 1st record of the book corresponding to the item selected.
    3. The Chapter combo box stores all chapters orders of the book corresponding to the item displays in the Book combo box, select an item:
      • In this combo box, displays the item selected.
      • The Verse combo box stores all verses orders of the chapter and displays the 1st verse order.
      • Into the Record data boxes, displays the 1st record of the chapter corresponding to the item selected.
    4. The Verse combo box stores all verses orders of the chapter corresponding to the items display in the Book and
      Chapter combo boxes, select an item:
      • In this combo box, displays the item selected.
      • Into the Record data boxes, displays the record corresponding to the item selected.
  11. The IDD_ABOUTBOX dialog design.

    About ...


    The dialog functions
    :

  12. To display information about the KJV database.
  13. To call the IDD_BIOGRAPHY dialog. (Click the button - Created by)
  14. To unload the current dialog. (Click the button - Done)
  15. The IDD_BIOGRAPHY dialog design.

    Biography ...


    The dialog functions :

  16. To display the biography data.
  17. To unload the current dialog. (Click the button - Done)

Previous
Home 0 Home
Next