Walk Lightly on this PLANET and yet leave such a FOOTPRINT that cannot be erased for thousands of Years..!!!
Visit Codstech for Cyber Security related Posts !

Visitors

Tuesday, August 9, 2011

VB-90 : Electricity Bill

==================================================================================

Before going to do any Database Program ,Click here to  understand Database Concepts thoroughly.


That is , Creating Database within VB Platform


==================================================================================

Design a simple application to generate electricity bill . The form should accept ;
  • Previous Reading
  • Present Reading
  • Domestic/Household or Commercial purpose..etc
  • Should display the amount to be paid
  • Interface should also be display Time , Date, Connection Number, Address , Dues (If any) along with the amount.
Assumptions can be made wherever necessary .
Refer Calculate Electricity Bill also.



(A)Program Design : 


(B) Property(Controls Used) :

  • 3 TextBoxes (Name-Text1,2,3) , Shows Payee Name , Address and Bill amount
  • DtPicker    (To set Date, we need a controll called DtPicker.To add DtPicker , select Project--> Components--> Microsoft Window common control-2.6.0)
  • 3 TextBoxes (Name-Text 4,5,6,) , Shows Discount,Net Amount and Connection Number
  • 10 Command Buttons (First.....Close..etc)
  • One Label-To show the current Date ( Top of the form) 

(C) Attaching Code to the Object :

This is your Homework...........

please click Comment section , to post your answer....

Or, Wait to  see for answer.....



      • ====================================================================
        Back to Home   &  VB
    ===========================================================

    VB-89 : Number of characters in a given string

    Write a VB program to count the number of characters in a given string. The string is to be ended by placing a "/" by the user.

    Click to see a simple program of this type The number of digits in the entered Number...

    Refer Total words,Characters,sentence,length of ...also.


    Hint : While (StrComp(Mid(str,i,1),"/") <> 0

        • ====================================================================
          Back to Home   &  VB
      ===========================================================