Circle is one of the closed figures that all are aware of. The quantity that expresses the extent of circle is the area. The area of a circle in VB.Net is an application that will help in calculating the area of a circle through VB.Net programming language. This application can provide a field where the radius can be entered and the area is calculated automatically just in one mouse click with great ease. This application will act as guide in calculating the area of a circle in VB.Net without any difficulty. This will be one of the interesting applications that one can work on and implement in real time world with great ease.
Radius is the important factor that is responsible for finding the area of a circle. This application can provide you some field through which some value can be entered and the area of the circle can be found out easily. This application will help in accomplishing this task with great ease. The features that can be included in this application are as follows:
- Ease of access: This application will be easy to access since the user interface will be simple and easy to understand.
- Easy code snippet: This application can provide you the code snippet for finding the area of a circle with great ease.
This program will find the Area of Circle by entering Radius in the Text box. Two Text box created. One is to enter Radius and another one to display Area of Circle. When user clicks solve button it will display the result. This source code developed using Visual studio 2008 and it works in Visual studio 2012.
Area of Circle
Programming language: Visual studio 2008 (VB.NET)
Download this project source code file:
Download EXE or Setup File:
Public Class Form1
Private Sub btnSolve_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSolve.Click
Dim area, pi As Double
Dim r As Integer
area = 0.0
pi = 3.1416
r = Convert.ToInt16(txtRadius.Text)
area = 2 * pi * r * r
txtArea.Text = Convert.ToString(area)