Halloween party ideas 2015







THIS IS THE PROPERTY SETTINGS FOR CONTROLS
Form1:
BorderStyle 1-Fixed Single
Caption Savings Account
Name frmSavings
Label1:
Caption Monthly Deposit
Label2:
Caption Yearly Interest
Label3:
Caption Number of Months
Label4:
Caption Final Balance
Text1:
Text [Blank]
Name txtDeposit
Text2:
Text [Blank]
Name txtInterest
Text3:
Text [Blank]
Name txtMonths
Text4:
Text [Blank]
Name txtFinal
Command1:
Caption &Calculate
Name cmdCalculate
Command2:
Caption E&xit
Name cmdExit


BELOW IS THE CODE

Dim Deposit As Single
Dim Interest As Single
Dim Months As Single
Dim Final As Single

Private Sub cmdCalculate_Click ()
Dim IntRate As Single

Deposit = Val(txtDeposit.Text)
Interest = Val(txtInterest.Text)
IntRate = Interest / 1200
Months = Val(txtMonths.Text)

Final = Deposit * ((1 + IntRate) ^ Months - 1) / IntRate
txtFinal.Text = Format(Final, "#####0.00")
End Sub

Some Features of Visual Basic

  • Full set of objects - you 'draw' the application
  •  Lots of icons and pictures for your use
  • Response to mouse and keyboard actions
  •  Clipboard and printer access
  •  Full array of mathematical, string handling, and graphics functions
  • Can handle fixed and dynamic variable and control arrays
  •  Sequential and random access file support
  • Useful debugger and error-handling facilities
  •  Powerful database access tools
  • ActiveX support
  • Package & Deployment Wizard makes distributing your applications

What is Visual Basic?

Visual Basic is a tool that allows you to develop Windows (GUI - Graphic User
Interface) applications. The applications have a familiar appearance to the
user.


Visual Basic is event-driven, meaning code remains idle until called upon to
respond to some event (button pressing, menu selection, ...). Visual Basic is
governed by an event processor. Nothing happens until an event is detected.
Once an event is detected, the code corresponding to that event (event
procedure) is executed. Program control is then returned to the event processor.

WHAT IS PHP

PHP stands for Hypertext Preprocesor. PHP is a server side scripting language that is embedded in HTML.

USES OF PHP
  • PHP can handle forms, i.e. gather data from files, save data to a file, thru email you can send data, return data to the user.
  • You add, delete, modify elements within your database thru PHP.
  • Access cookies variables and set cookies.
  • Using PHP, you can restrict users to access some pages of your website.
  • It can encrypt data.
Powered by Blogger.