Anda di halaman 1dari 134

first page

ERODE CHRISTIAN COLLEGE OF ARTS AND SCIENCE FOR WOMEN

(SELF-FINANCE WING)

ERODE-638001

UG DEPARTMENT OF COMMERCH WITH COMPUTER APPLICATIONS

[B.COM(CA)]

COMPUTER APPLICATIONS PRACTICALES

VISUAL BASIC & HTML

REGISTER NO:-------------------------------------------

BONAFIDE CERTIFICATE

This is to certify that this work is done miss/.mr----------------------------- of


b.com(ca) at the ug department of commerce with computer application
in erode Christian college (Ecc), erode during the academic year
2014 - 2017

Staff-in-change Head of department

Submitted for the practical examination held on----------------------

STATION - ERODE

DATE

INTERNAL EXAMINER EXTERNAL EXAMINER


VISUAL BASIC
S.NO DATE CONTENT PAGE.NO SINGNATURE
1 ALIGNMENT AND FORMAT
FUNCTION
2 LIST OF PRODUCT

3 CAPITAL BUDGETING
TECHNIQUES
4 ADVERTISEMENT BANNER

5 COST OF CAPITAL

6 WORKING CAPITAL ANALYSIS

7 BREAK EVEN ANALYSIS

8 PRODUCTS DETAILS IN RICH


TEXT BOX
9 PRODUCT LIFE CYCLE

10 PAY SLIP DATA BASE USING


SQL AND ADO
11 HIGHLIGHTS OF A BUDGET

12 SUPER MARKET BILL USING


ADO
13 BANK CUSTOMER DATA BASE
USING ADO
14 INVENTORY CONTROL
RECORDS
15 FILE DIRECTORY
EX.NO.1

DATE : ALIGNMENT AND FORM FUNCTION

PROBLEM:-

Design a form with text box to perform the alignment and

format functions.

AIM:-

To design a form text box to perform the alignment and format

functions.

REQUIREMENT:-

Frame, label, text box, command button.

ALGORITHIM:-

STEP 1:- Start the process.

STEP 2:- Design the form by labels, text boxes and command button.

STEP 3:- Write the coding to different functions and to change the font

size, style effect, and alignment of the text.

STEP 4:- The format function will display various formats available in

the form.

STEP 5:- On the font alignment of the given text and view the change.

STEP 6:- Stop the process.


CODINGS:-

Private Sub Check1_Click()

If Check1.Value = 1 Then

Text1.FontBold = True

Else

Text1.FontBold = False

End If

End Sub

Private Sub Check2_Click()

If Check2.Value = 1 Then

Text1.FontItalic = True

Else

Text1.FontItalic = False

End If

End Sub

Private Sub Check3_Click()

If Check3.Value = 1 Then

Text1.FontUnderline = True

Else
Text1.FontUnderline = False

End If

End Sub

Private Sub Check4_Click()

If Check4.Value = 1 Then

Text1.FontStrikethru = True

Else

Text1.FontStrikethru = False

End If

End Sub

Private Sub Option1_Click()

Text1.Alignment = 1

End Sub

Private Sub Option2_Click()

Text1.Alignment = 0

End Sub

Private Sub Option3_Click()

Text1.Alignment = 2

End Sub
Private Sub Option4_Click()

Text1.ForeColor = vbBlue

End Sub

Private Sub Option5_Click()

Text1.ForeColor = vbGreen

End Sub

Private Sub Option6_Click()

Text1.ForeColor = vbRed

End Sub

Private Sub Option7_Click()

Text1.Text = UCase(Text1)

End Sub

Private Sub Option8_Click()

Text1.Text = LCase(Text1)

End Sub
FORM DESIGN:-
OUTPUT:-
EX.NO.2

DATE : LIST OF PRODUCT

PROBLEM:-

Design a form to display a list of products by declaring array

function.

AIM:-

To display the list of products by declaring array function.

REQUIREMENT:-

List box, label box, command button.

ALGORUTHIM:-

STEP 1:- Start the process.

STEP 2:- Design the form by placing the labels, text boxes and

command button.

STEP 3:- Write the coding to declare an array for variables to get the

output.

STEP 4:- Execute the form.

STEP 5:- Click the input command button and enter the number of

item to be add in the

input box and selected the process ok.

STEP 6:- Click the display command button to display the item in the

list box.

STEP 7:- Stop the process.


CODINGS:-

Private Sub Command1_Click()

Dim a(5) As String

Dim i As Integer

a(0) = "hard disk"

a(1) = "floppy disk"

a(2) = "pen drive"

a(3) = "CD drive"

a(4) = "mouse"

a(5) = "key board"

For i = 0 To 5

List1.AddItem (a(i))

Next i

End Sub

Private Sub Command2_Click()

End

End Sub
FORM DESIGN:-
OUTPUT:-
EX.NO.3
CAPITAL BUDGETING TECHNIQUES
DATE :

PROBLEM:-

Design a form to calculate capital budgeting techniques by

declaring finance function and variable declaring using option box (or)

check box.

AIM:-

To calculate capital budgeting techniques by declaring finance

function and variable declaring using option box.

REQUIREMENT:-

Label box, text box, frames, option button, command button.

ALGORITHIM:-

STEP 1:- Start the process.

STEP 2:- Design the form by placing the label box, text boxes and

command button, frames and option button.

STEP 3:- Write the coding to calculate the pay pack period under even

inflow and uneven inflow and net present value and uneven of future

cash inflow.

STEP 4:- Execute the form.

STEP 5:- Enter the necessary values according to the option selected.

STEP 6:- Click the “calculate” button and the result will be displayed.

STEP 7:- To clear the text box click the “clear” button.

STEP 8:- Stop the process.


CODINGS:-

Private Sub Command1_Click()

Text1.Text = ""

Text2.Text = ""

Text3.Text = ""

Text4.Text = ""

Text1.SetFocus

End Sub

Private Sub Command2_Click()

Text5.Text = ""

Text6.Text = ""

Text7.Text = ""

Text5.SetFocus

End Sub

Private Sub Option1_Click()

Frame1.Enabled = True

Frame2.Enabled = False

Text1.SetFocus

End Sub

Private Sub Option2_Click()


Frame2.Enabled = True

Frame1.Enabled = False

Text5.SetFocus

End Sub

Private Sub Text3_lostfocus()

If Text2.Text = "" Then

Text2.Text = 0

End If

If Text1.Text <> "" And Text1.Text <> 0 Then

Text4.Text = Text3.Text / (Text1.Text - Text2.Text) * 100

End If

End Sub

Private Sub Text6_lostfocus()

Text1.Text = Text5.Text / Text6.Text

End Sub
FORM DESIGN:-
OUTPUT:-
EX.NO.4
ADVERTISEMENT BANNER
DATE :

PROBLEM:-

Display a form to display an advertisement banner using image

box control with function.

AIM:-

To display an advertisement banner using image box control with

function.

REQUIREMENT:-

Label box, image (or) picture box, timer control.

ALGORITHIM:-

STEP 1:- Start the process.

STEP 2:- Design the form by placing the label box, image box, and timer

control.

STEP 3:- Change the interval property of the timer controls to respect

some operation.

STEP 4:- Insert a picture to the image box after changing its stretch

property to true.

STEP 5:- Write necessary coding in the timer control to animate the

caption of the label boxes with in the timer set.

STEP 6:- Run the project to display the advertisement banner of the

given organization.

STEP 7:- Stop the process.


CODINGS:-

Dim i As Integer

Dim a As String

Private Sub Form_Load()

a = "NANDHA ARTS AND SCIENCE COLLEGE"

i=1

End Sub

Private Sub Timer1_Timer()

Label2.Caption = Mid(a, i, 20)

i=i+1

If i > Len(a) Then

i=1

End If

End Sub
FORM DESIGN:-
OUTPUT:-
EX.NO.5
COST OF CAPITAL
DATE :

PROBLEM:-

Design a form to compute cost of capital using finance function &

option box.

AIM:-

To compute cost of capital using finance function & option box.

REQUIREMENT:-

Label box, command button, text box, check box.

ALGORITHIM:-

STEP 1:- Start the process.

STEP 2:- Design the form by placing labels, text boxes and command

button & check box.

STEP 3:- Write the coding to calculate the cost of equity & cost of

retained earings.

STEP 4:- Execute the program.

STEP 5:- Enter the necessary values for required result.

STEP 6:- Stop the process.


CODINGS:-

Dim div As Double

Dim ns, ci, dis, rd, sr, np, net, cost As Double

Public Function Par()

np = net - cost

Text7.Text = div / np * 100

End Function

Public Function discount()

np = net - (dis * net) - cost

Text8.Text = div / np * 100

End Function

Public Function Premium()

np = net + (p * net) - cost

Text9.Text = div / np * 100

End Function

Private Sub Command1_Click()

ns = Val(Text1.Text)

ci = Val(Text2.Text)

p = Val(Text3.Text) / 100

dis = Val(Text4.Text) / 100

rd = Val(Text5.Text)

sd = Val(Text6.Text)
div = ns * sr * rd / 100

cost = ci * ns

net = ns * sr

If Check1.Value = 1 Then

Call Par

End If

If Check2.Value = 1 Then

Call discount

End If

If Check3.Value = 1 Then

Call Premium

End If

End Sub

Private Sub Command2_Click()

End

End Sub
FORM DESIGN:-
OUTPUT:-
EX.NO.6
WORKING CAPITAL ANALYSIS
DATE :

PROBLEM:-

Design a form to perform working capital analysis by declaring

function using flex grid control.

AIM:-

To perform working capital analysis by declaring function using

flex grid control.

REQUIREMENT:-

Label box, flex grid control, data control, command button.

ALGORITHIM:-

STEP 1:- Start the process.

STEP 2:- Design the form by placing labels; flex grid control with size

column, data control and command buttons.

STEP 3:- Create a label in ms access and enter the current assets and

current liabilities in the table created.

STEP 4:- Press the “calculate” command button to calculate the total

current assets and total current liability.

STEP 5:- Click the “working capital” command button to result of

working capital.

STEP 6:- Stop the process


CODINGS:-

Private Sub Command1_Click()

Dim asset(10) As Long, ta As Long

With MSFlexGrid1

For i = 1 To 4 'i for column

ta = 0

For j = 1 To 3 'j for row

asset(j) = .TextMatrix(j, i)

ta = ta + asset(j)

.TextMatrix(4, i) = ta

Next j

t = ta * 0.1

.TextMatrix(8, i) = t

Next i

End With

Dim lia(16) As Long, t1 As Long

With MSFlexGrid1

For i = 1 To 4 'i for column

t1 = 0

For j = 5 To 6 'j for rows

lia(j) = .TextMatrix(j, i)

t1 = t1 + lia(j)

.TextMatrix(7, i) = t1
Next j

Next i

End With

End Sub

Private Sub Command2_Click()

Dim a As Long

With MSFlexGrid1

For i = 1 To 4

.TextMatrix(9, i) = Val(.TextMatrix(4, i)) - Val(.TextMatrix(7, i)) +

Val(.TextMatrix(8, i))

Next i

End With

End Sub

Private Sub Command3_Click()

End

End Sub
OUTPUT:-
EX.NO.7
BREAK EVEN ANALYSIS
DATE :

PROBLEM:-

Design a form to display break even analysis using line and chart

control by declaring variables.

AIM:-

To display break even analysis using line and chart controls by

declaring variables.

REQUIREMENT:-

Label boxes, ms chart control, command button.

ALGORITHIM:-

STEP 1:- Start the process.

STEP 2:- Design the form with ms chart control by selecting in form

components.

STEP 3:- Design the chart control to display break even analysis chart

by changing the chart title exit. Title shows tag end hide slides

properties of it.

STEP 4:- Add necessary control to execute of exit project.

STEP 5:- Add necessary coding to get the require data using input box

and by incrementing the columns and rows of the chart

control.
STEP 6:- Execute the project to get require input for five year to

display result and chart.

STEP 7:- Stop the process.


CODINGS:-

Private Sub Command1_Click()

Dim D(5) As Long

With MSChart1

.RowCount = 5

.Column = 1

For Row = 1 To 5

D(Row) = InputBox("enter the value of fixed cost", "fixed cost")

.Row = Row

.Data = D(Row)

Next Row

.Column = 2

For Row = 1 To 5

D(Row) = InputBox("enter the value of variable cost", "variable cost")

.Row = Row

.Data = D(Row)

Next Row

.Column = 3

For Row = 1 To 5

D(Row) = InputBox("enter the value of total cost", "total cost")

.Row = Row

.Data = D(Row)

Next Row
.Column = 4

For Row = 1 To 5

D(Row) = InputBox("enter the value for total revenue cost", "total revenue
cost")

.Row = Row

.Data = D(Row)

Next Row

End With

End Sub

Private Sub Command2_Click()

End

End Sub
FORM DESIGN:-
OUTPUT:-
EX.NO.8
PRODUCT DETAILS IN RICH TEXT BOX
DATE :

PROBLEM:-

Design a form to product details like purchase, sales, profit etc

by declaring array function and display in rich text box.

AIM:-

To design a product details like purchase, sales, profit etc by

declaring array function and display details in rich text box.

REQUIREMENT:-

Label box, rich text box, command button.

ALGORITHIM:-

STEP 1:-Start the process.

STEP 2:- Design the form by placing the label box, rich text box, and

command button.

STEP 3:- Write the code to declare an array for a variable to get more

than one value.

STEP 4:- Execute the form.

STEP 5:- Click the “input” command button to give the necessary details

like name, purchase, Sales and profit.

STEP 6:- Click “display” command button to display given details in rich

text box.

STEP 7:- Stop the process.


CODINGS:-

Dim Product(12) As String

Dim Purchase(12), Sales(12), Profit(12), n As Integer

Private Sub Command1_Click()

n = InputBox("enter the no of products")

For i = 1 To n

Product(i) = InputBox("enter the product name:")

Purchase(i) = InputBox("enter the purchase amount:")

Sales(i) = InputBox("enter the sales amount:")

Profit(i) = Sales(i) - Purchase(i)

Next i

End Sub

Private Sub Command2_Click()

Dim stm As String

stm = "product name" & Space(12) & "purchase" & Space(8) & "sales" &
Space(10) & "profit" & Space(15) & vbNewLine

For i = 1 To n

stm = stm & Product(i) & Space(30) & Purchase(i) & Space(15) & Sales(i) &
Space(17) & Profit(i) &vbNewLine

RichTextBox1.Text = stm

Next i

End Sub
Private Sub Command3_Click()

End

End Sub
FORM DESIGN:-
OUTPUT:-
EX.NO.9
PRODUCT LIFE CYCLE
DATE :

PROBLEM:-

Design a form to display a product life cycle by using slide

control.

AIM:-

To design a product life cycle using slider control and to bring

the changes.

REQUIREMENT:-

Slider control, label, line.

ALGORITHIM:-

STEP 1:- Start the process.

STEP 2:- Design the form by placing , label box, lines and slider control.

STEP 3:- Write the code for lines and for slider.

STEP 4:- Labels should be created with introduction, growth, maturity,

saturation and decline Stage.

STEP 5:- Slider control should be move to show the product changes.

STEP 6:- Stop the process.


CODINGS:-

Private sub Form-Load()

Line7.Visible=False

Line8.Visible=False

Line9.Visible=False

Line10.Visible=False

Line11.Visible=False

End Sub

Private sub slider1_Click()

If slider1.Value=1 then

Line7.Visible=True

Line8.Visible=False

Line9.Visible=False

Line10.Visible=False

Line11.Visible=False

Elself slider1.Value=3 then

Line7.Visible=True

Line8.Visible=True

Line9.Visible=True

Line10.Visible=Fa
FORM DESIGN:-
OUTPUT:-
EX.NO.10
PAY SLIP DATABASE USING SQL AND ADO
DATE :

PROBLEM:-

Design a pay slip for an organization using SQL and ado


control.

AIM:-

To develop and application in VB to design a pay slip for a

organization and create a database using SQL and ado control.

REQUIREMENT:-

Label box, textbox, active database object and command

button.

ALGORITHIM:-

STEP 1:- Start the process.

STEP 2:- Design the form by placing, label boxes, text boxes, and

command button and ado control.

STEP 3:- Write the coding to calculate, add, edit, update, and exit

operation.

STEP 4:- Create table with the fields like EMPID,EMP name, basic

salary, bonus and BF fund and net display in SQL.

STEP 5:- Connect the ADODC data control to the SQL start the

executing of the form and enter the value of the above

fields.

STEP 6:- Click the “calculate” command button to calculate net pay.

STEP 7:- Then process “ADODC” command button to add the fields

to ADODC data control.

STEP 8:- Using the clear or delete command button the records can

be cleared or deleted.
STEP 9:- Write the command “select” form pay slip display the

process.

STEP 10:- Stop the process.

CODINGS:-

Private Sub Command1_Click()

Adodc1.Recordset.AddNew
End Sub

Private Sub Command2_Click()

Adodc1.Recordset.Update

End Sub

Private Sub Command3_Click()

Adodc1.Recordset.Delete

End Sub

Private Sub Command4_Click()

Text8.Text = Val(Text4.Text) + Val(Text5.Text) + Val(Text6.Text) -


Val(Text7.Text)

End Sub

Private Sub Command5_Click()

End

End Sub

ORACLE QUERY:-
FORM DESIGN:
OUTPUT:-
EX.NO:-11
HIGHLIGHTS OF A BUDGET
DATE:-

PROBLEM:-

Design a form to display the highlight the budget using

option button and animation.

AIM:-

To display the highlight the budget using option button and

animation.

REQUIREMENT:-

Label box, option button, timer control, and frame.

ALGORITHIM:-

STEP 1:- Start the process.

STEP 2:- Add label, option button, and timer.

STEP 3:- Change the caption of the label boxes with various budget

announcements.

STEP 4:- Set the interval property of the timer control.

STEP 5:- Add necessary coding for the timer control the animate the

label box which the appropriate option button is click.

STEP 6:- Highlight the selection label boxes dynamically which script

the condition using timer control.


STEP 7:- Execute the form and click the caption button to animate the

related label boxes.

STEP 8:- Stop the process.


CODINGS:-

Private Sub Option1_Click()

RichTextBox1.Text = "Introducing new trains in all over india"

End Sub

Private Sub Option2_Click()

RichTextBox1.Text = "Govt.provide lot of amount in higher education"

End Sub

Private Sub Option3_Click()

RichTextBox1.Text = "Introducing new schemes to a farmers increasing

productivity"

End Sub

Private Sub Timer1_Timer()

If Val(RichTextBox1.Left) >= -500 Then

RichTextBox1.Left = RichTextBox1.Left - 150

Else

RichTextBox1.Left = 11520

End If

End Sub
FORM DESIGN:-
OUTPUT:-
EX.NO:-12
SUPER MARKET BILL USING ADO
DATE:-

PROBLEM:-

Design a super market bill to display the sales invoice and

create VB using ADO control, check box, date picker etc.

AIM:-

To display a super market bill to display the sales invoice and

create VB using ADO control.

REQUIREMENT:-

Label boxes, command button, text boxes, ado control, date

picker.

ALGORITHIM:-

STEP 1:- Start the process.

STEP 2:- Design a form by placing label, command button, text boxes.

STEP 3:- Create a VB in access to store the information added to the

from at runtime.

STEP 4:- Place ADO control form components and change the general

and record source properties of the ADO control connect with

the VB created the ms access.

STEP 5:- Add necessary coding in calculate the table bill amount add,

update, edit and to delete records form the VB adds a data

report from project new and design.


STEP 6:- To display the sales invoice by linking the data report to the

VB through the data environment & command table

connecting.

STEP 7:- Execute the project to add calculate, update, edit & to generate

the sales invoice.

STEP 8:- Stop the process.


CODINGS:-

Private Sub Command1_Click()

Adodc1.Recordset.AddNew

End Sub

Private Sub Command2_Click()

Adodc1.Recordset.Delete

End Sub

Private Sub Command3_Click()

Adodc1.Recordset.Update

End Sub

Private Sub Command4_Click()

datareport1.Show

End Sub

Private Sub Command5_Click()

Text5.Text = Val(Text3.Text) * Val(Text4.Text)

End Sub
Private Sub Command6_Click()

End

End Sub
FORM DESIGN:-
OUTPUT:-
REPORT:-
EX.NO.13
BANK CUSTOMER DATABASE USING ADO
DATE :

PROBLEM:-

Design a form to create a bank customer database by declaring

simple and multiple arrays using ADO control.

AIM:-

To create a bank customer database by declaring simple and

multiple arrays using ADO control.

REQUIREMENT:-

Label boxes, command button, text boxes, ado control.

ALGORITHIM:-

STEP 1:- Start the process.

STEP 2:- Design a form by playing labels, command button, text boxes,

and ADODC control.

STEP 3:- Place an ADODC control from project components ms ADODC

control 6.0.

STEP 4:- Right click the ADODC control and change the general and

record source property for establish the connectivity.

STEP 5:- Click and button to enter the customer number, name, address,

type of account and balance amount.


STEP 6:- Execute the program by getting necessary and total closing

balance in the saving bank account.

STEP 7:- Stop the process.


CODINGS:-

Private Sub Command1_Click()

Adodc1.Recordset.AddNew

End Sub

Private Sub Command2_Click()

Adodc1.Recordset.Update

End Sub

Private Sub Command3_Click()

Adodc1.Recordset.Delete

End Sub

Private Sub Command4_Click()

Text7.Text = Val(Text5.Text) + Val(Text6.Text)

End Sub

Private Sub Command5_Click()

End

End Sub
FORM DESIGN:-
OUTPUT:-
EX.NO..14
INVENTORY CONTROL RECORDS
DATE :

PROBLEM:-

Design a form to calculate minimum, max, reorder level, reorder

level, reorder quality, EOQ and display the inventory reorder.

AIM:-

To calculate minimum, max, reorder level, reorder quality, EOQ

and display the inventory records.

REQUIREMENT:-

Label boxes, command button, text boxes.

ALGORITHIM:-

STEP 1:- Start the process.

STEP 2:- Design a form by using labels, command button, text boxes.

STEP 3:- Write the coding labels, command button, text boxes.

STEP 4:- Execute the form.

STEP 5:- Enter the values in the required text box to calculating

minimum, maximum, reorder level, reorder quality & EOQ by

clicking the command button.

STEP 6:-Stop the process.


CODINGS:-

Private Sub Command1_Click()

Dim a, b

a = 2 * Val(Text1.Text) * Val(Text2.Text)

b = Val(Text3.Text) * Val(Text4.Text / 100)

Text5.Text = Sqr(a / b)

End Sub

Private Sub Command2_Click()

Text13.Text = Val(Text6.Text) * Val(Text10.Text)

Text14.Text = Val(Text13.Text) + Val(Text9.Text) - Val((Text7.Text) *

Val(Text11.Text))

Text15.Text = Val(Text13.Text) - Val((Text8.Text) * Val(Text12.Text))

End Sub

Private Sub Command3_Click()

End

End Sub

Private Sub Text12_Gotfocus()

Text12.Text = Val((Text10.Text) + Val(Text11.Text)) / 2

End Sub
Private Sub Text8_Gotfocus()

Text8.Text = Val((Text6.Text) + Val(Text7.Text)) / 2

End Sub
FORM DESIGN:-
OUTPUT:-
EX.NO:15
FILE DIRECTORY
DATE:

PROBLEM:

Design a form to display tree view and list of folders and file from a

directory of an Organisation.

AIM:

To display tree view and list of folders and files from a directory of an

organisation.

REQUIREMENT:

File list box ,drive box, directory list box, command button.

ALGORITHIM:

STEP 1: Start the process.

STEP 2: Design the form by placing file list box and command button.

STEP 3: Write the code to display the file directory in the drive selected by

user.

STEP 4: Execute the form .

STEP 5: Select the drive from the drive list box.

STEP 6: The directory fields will be displayed in the list box & click the file to

be opened.

STEP 7: Click open button to open the file will appear in the screen.

STEP 8: Stop the process.


CODINGS:

Private Sub Command1_Click()

With TreeView1

.Nodes.Add , , "F", "File"

.Nodes.Add , , "E", "Edit"

.Nodes.Add , , "V", "View"

.Nodes.Add "F", tvwChild, "N", "New"

.Nodes.Add "F", tvwChild, "O", "Open"

.Nodes.Add "F", tvwChild, "S", "Save"

.Nodes.Add "F", tvwChild, "SAS", "Saveas"

.Nodes.Add "E", tvwChild, "C", "Cut"

.Nodes.Add "E", tvwChild, "CO", "Copy"

.Nodes.Add "E", tvwChild, "P", "Paste"

.Nodes.Add "V", tvwChild, "CD", "Code"

.Nodes.Add "V", tvwChild, "OB", "Object"

.Nodes.Add "V", tvwChild, "DEF", "Definition"

End With

End Sub

Private Sub Command2_Click()

End

End Sub
FORM DESIGN:-
OUTPUT:-
HTML
S.NO DATE CONTENT PAGE.NO SINGNATURE

WEBPAGE FOR BUSINESS


1 ORGANIZATION

LIST ORDERED AND


2 UNORDERED

ADVERTISMENT
3
DISPLAY THE LIST OF
4 PRODUCTS

SALES LETTER
5
RESUME
6
WEBSITE FOR THE
7 DEPARTMENT

LOCAL ORDER
8 PROCESSING

CUSTOMER SURVEY
9 FROM

MULTIFORM DOCUMENT
10
EX.NO : 1
WEBPAGE FOR BUSINESS ORGANIZATION
DATE :

AIM:-
To create the web pages for a business organization.

ALGORITHIM:-

STEP 1:- Start the process.

STEP 2:- Open the notepad.

STEP 3:- Include the HTML, HEAD and BODY tag.

STEP 4:- To display the frame by using frameset tag.

STEP 5:- To display the scrolling text by using marquee tag.

STEP 6:- Close the head, body and html tag.

STEP 7:- Select the option from file menu and save the file with

*.html extension and Close the notepad.

STEP 8:- Execute the file in the browser select the file menu and

select open option, Click on browse button and select the

path.

STEP 9:- Quit browser.


CODINGS:-

Mainframe.html

<html>

<head><title>frames

</title></head>

<frameset cols='40%,30%,30%'>

<frame src='Frame1.html'>

<frame src='Frame2.html'>

<frame src='Frame3.html'>

</frameset>

</html>
Frame1.html
<html>

<head><title>Frame1.html

</title></head>

<body bgcolor="pink">

<h1><Center>Rhythm knits

</Center></h1>

<p>The Rhythm knits is the government registered export house in

Tirupur. the factories include cotton silk and wooden fabrics.

<br>

In the company many works are done.the works such as

<ul><li>cutting</ul>

<li>printing</li>

</body>

</html>
Frame2.html
<html>

<head><title>Frame2.html

</title></head>

<body bgcolor="yellow">

<h3><center>cutting</center></h3>

<p>The cutting machine to cut the cloth there are 12 workers 10 cutting

maters and 6 cutting tables. There are two different types of cutting.

<ol><li>Loy or Machine Cutting

<li>Manual cutting</li>

</ol>

</body>

</html>
Frame3.html
<html>

<head><title>Frame3.html</title></head>

<body bgcolor=”Orange”>

<h2><center>Printing</center></h2>

<p>The beautiful designs are printed in cloth are if is decrated to give

the fashion work for dress.

</body>

</html>
OUTPUT:-
EX.NO:2
LIST ORDERED AND UNORDERED
DATE :

AIM:-

To create the html program to display the ordered and unordered

list of products.

ALGORITHIM:-

STEP 1:- Start the process.

STEP 2:- Open the notepad.

STEP 3:- Include the HTML and HEAD tag.

STEP 4:- Include the body tag.

STEP 5:- To display the order list in type 1,2,3 and unordered list type

disc, square and circle.

STEP 6:- Close the body and html tag.

STEP 7:- Select the one file menu and save the file with * .html

extension and close the Notepad.

STEP 8:- To view the file in the browser click the file menu and select

open option, to open dialog box is displayed.

STEP 9:- Click on browse button and select the path.

STEP 10:- Quit browser.


CODINGS:-

<html>

<head>

<title>ORDERD AND UNORDERD LISTS</title>

</head>

<body><center><H1>LIST OF PRODUCTS USING ORDERED AND

UNORDERED LISTS

</h1></center>

<h2><u>REBOOK PRODUCTS</u></h2>

<h3><ORDERED LISTS </h3>

<ol><li>t-shirt</li>

<li>shoes</li>

<li>bat</li>

<li>cap</li>

</ol>

<h3>UNORDERED LISTS</h3>

<ul><li>bag</li>

<li>perfumes</li>

<li>jeans</li>

</ul>

</body>

</html>
OUTPUT:-
EX.NO : 3
ADVERTISMENT
DATE :

AIM:-

To create the html program to display advertisement of a project.

ALGORITHIM:-

STEP 1:- Start the process.

STEP 2:- Open the notepad.

STEP 3:- Include the HTML,BODY and HEAD tag.

STEP 4:- To display the advertisement using bold, italic, and image tags.

STEP 5:- Select the one file menu and save the file with * .html

extension and close the notepad.

STEP 6:- To view the file in the browser click the file menu and select

open option, to open dialog box is displayed.

STEP 7:- Click on browse button and select the path.

STEP 8:- Quit browser.


CODINGS:-

<html>

<head>

<title>advertisement</title>

</head>

<body bgcolor=”limegreen”>

<body><center><h2>HYUNDAI MOTORS PRIVATE LTD.,</center><h2>

<br>

<h3><i>Introduction</i></h3>

<p align=”justify”>Hyundai

<small>This company was started on 1990</small>It’s total turnover

across around 750 crores

<br><hr><br><h3><i>Product manufacture</i></h3>

<p align=center><h4>Hyundai offers the following products</h4>

<p align=”left”>

<ol><li>santro

<li>swift

<li>xing</ol>

<hr>

<p align=”left”><b><big>General</big></b>

<p>

<center>

Hyundai motors own the award for best customer satisfaction


performance for the year 2008

</p>

</center>

</body>

</html>
OUTPUT:-
EX.NO : 4
DISPLAY THE LIST OF PRODUCTS
DATE :

AIM:-

To create the html program display the list of programs by using

table tag.

ALGORITHIM:-

STEP 1:- Start the process.

STEP 2:- Open the notepad.

STEP 3:- Include the HTML, BODY, and HEAD tag.

STEP 4:- To create product list table using tag using <th>to display

heading and by using <tr>to create row.

STEP 5:- Close the body, html and head tag.

STEP 6:- Using table element like <th>to display heading <tr>to create

table row an<td>used to create a table data.

STEP 7:- Close the head, body and html tag.

STEP 8:- Select the one file menu and save the file with*.html

extension and close notepad.

STEP 9:- To view the file in the browser click the file menu and select

open option, to open dialog box is displayed.

STEP 10:- Click on browse button and select the path and execute the file.

STEP 11:- Quit browser.


CODINGS:-

<html>

<head>

<title>List of products</title></head>

<body><center><h1>LIST OF PRODUCTS USING TABLE </h1></center>

<tablebgcolor=”aqua”width=”100%”border=”5%”bordercolor=”maroon”cells

pacing=”25%”cellpadding= “15%”>

<tr><th>FRUITS</th>

<th>CHOCOLATES</th>

<th>SOFTDRINKS</th>

<th>HEALTHDRINKS</th>

</tr>

<tr><td>mango</td>

<td>dairymilk</td>

<td>fanta</td>

<td>boost</td>

</tr>

<tr><td>apple</td>

<td>milky bar</td>

<td>pepsi</td>

<td>horlicks</td>

</tr><td>orange</td>

<td>5star</td>
<td>Miranda</td>

<td>complain</td>

</tr>

</table>

</body>

</html>
OUTPUT:-
EX.NO : 5
COST OF CAPITAL
DATE :

AIM:-

To create the html program display the sales letter using java

script.

ALGORITHIM:-

STEP 1:- Start the process.

STEP 2:- Open the notepad.

STEP 3:- Include the html , body and head tag.

STEP 4:- To display the sales letter using html tags like heading,

paragraph, paragraph align, break etc.

STEP 5:- Close the head,body and html tag.

STEP 6:- Select the one file menu and save the file with*.html

extension and close the notepad.

STEP 7:- To view the in the browser click the file menu and select

open option,to open dialog box is displayed.

STEP 8:- Click on browse button and select the path and execute the

file.

STEP 9:- Quit browser.


CODINGS:-

<head><title>sales letter </title></head>

<body><h1><center><u>SALES LETTER</u></center></h1>

<b><center>The Chennai Silks<br>

R.K.V.Road<br>

Erode</center></b>

<h3><p align=left>Dear Sir,<br></h3>

<p align=left>We are credits to have a valuable customers like

you. We are also introduce many new collections to bring in to your


considerations to be enclosed the list of products along with their

letter.

<br></p>

<p>Would you ring us 0424-2247845 for an appointment with

you? you can ask for free Demonstration


<br></p>

<h3><p align=Center>Thanking you</p></h3>

<p align=right>Yours faithfully</p>

<p align=right>J.Gopala Krishnan<br>(Sales executive)</p>

</body>

</html>
OUTPUT:-
EX.NO : 6
RESUME
DATE :

AIM:-

To create the html program display the resume using java script.

ALGORITHIM:-

STEP 1:- Start the process.

STEP 2:- Open the notepad.

STEP 3:- Include the html, body and head tag.

STEP 4:- To display the resume using heading, font

Size, Center, underline, table, anchor tag.

STEP 5:- Close the head, body and html tag.

STEP 6:- Select the one file menu and save the file with*.html

Extension and close the notepad.

STEP 7:- To view the file in the browser click the file menu and select

Open option, to open dialog box is displayed.

STEP 8:- Click on browse button and select the path and execute the

File.

STEP 9:- Quit browser.


CODINGS:-

<html>

<head><title>Resume</title></head>

<body>

<h2><center><u>RESUME</u></center></h2>

<h3><u>PERSONAL DETAILS</u></h3>

<table><font size=’6’>

<tr><td>Name<td>:<td>RAMESH<td width=’200’><td>e-mail<td>:<td><a

href=’mailto:ramramesh1571@gmail.com’>ramramesh1571@gmail.com</a>
</td>

<tr><td>age<td>:<td>20<td><td>phone no<td>:9524023281</td>

<tr><td>Date of Birth<td>:<td>06.11.1992</td>

<tr><td>gender<td>:<td>male</td></tr>

</table>

<h3><u>Educational Qualification</u></h3>

<table width=”60%”border= ”5%”cellspacing=”5%”row=’4’cols=’4’>

<tr> <th>S.no</th>

<th>Course</th>

<th>University/board</th>

<th>Percentage</th>

</tr>

<tr> <td align=”Center”>1</td>

<td align=”Center”>B.COM(CA)</td>
<td align=”Center”>Bharathiyar</td>

<td align=”Center”>75.5</td>

</tr>

<tr> <td align=”Center”>2</td>

<td align=”Center”>HSS</td>

<td align=”Center”>state board</td>

<td align=”center”>80.6</td>

</tr>

<tr><td align=”center”>3</td>

<td align=”center”>SSLC</td>

<td align=”center”>state board</td>

<td align=”center”>80.5</td>

</table></tr>

<h3><u>Technical Qualification</u></h3>

<h4><p>Operating system:Dos,Windows XP,Windows NT,Unix<br>

Language:C++,Java<br>

Front End tools:VB6.0<br>

Back End tools:Oracle,MS-Access<br></h4>

</body>

</html>
OUTPUT:-
EX.NO : 7

DATE : WEBSITE FOR THE DEPARTMENT

AIM:-

To create a website for departments in our college.

ALGORITHIM:-

STEP 1:- Start the process.

STEP 2: Open the notepad.

STEP 3:- Include the html, body and head tag.

STEP 4:- To create link of our department using<a>tag and to display

The picture using<img>tag.

STEP 5:- Close the head, body and html tag.

STEP 6:- Select the one file menu and save the file with * html

Extension and close the notepad.

STEP 7:- To view the file in browser click the file menu and select

Open option, to open dialog box is displayed.

STEP 8:- Click on browse button and select the path and execute the

File.

STEP 9:- Quit browser.


CODINGS:-

Mainprogram.html

<html>

<head><title>www.Erode christian college.org</title>

</head>

<body bgcolor=”mediumspringgreen”><h1><center>Erode Christian college


of Arts & Science for Women</center></h1>

<fontcolor=”navy”><center><h2>WELCOMES YOU</h2></center></font>

<marquee direction=”left”><i><font color=”black”>2016 admission open


for following course</font><marquee><br>

<p><h3>DEPARTMENT DETAILS<br>

<a href=”BCOM(CA).html”>B.COM & B.COM(CA)</a><br>

<a href=”bba.html”>BBA</a><br>

<a href=”ba(eng).html”>BA(ENG)</a><br>

<a href=”bsc(cdf).html”>B.SC(CDF)</a><br>

<a href=”bsc(cs)&BCA.html”>B.SC(CS)&BCA</a><br>

</html>
b.com(ca).html

<html>

<head>

<h1>DEPARTMENT OF B.COM & B.COM(CA)</h1></head>

<body bg color=”darkorchid”>

<p><fontcolor=”seashell”>

<marquee direction=”right”><i>department related with


commerce</marquee></font></font></i></p><br>

<p>The Department of commerce was started during the year 2000 and
upgraded as a research department during 2006 on wards. A department
which is related to commercial field and have a lot of job scopes in
marketing and account</p><br>

<a href=”home.html”</home</a><body>

</html>
bba.html

<html>

<head>

<h1>DEPARTMENT OF BBA</h1></head>

<body bgcolor=”yellow” font color=”darkgray”>

<p>

<marquee direction=”right”><i>department related with


commerce</marquee></font></i></p><br>

<ba>a department which is related and useful for then who are going
for business and for pg courses such as mba</p><br>

<a href=”home.html”>home</a>

</body>

</html>
BA(ENG).html

<html>

<head>

<h1>DEPARTMENT OF BA ENG<h1></head>

<body bgcolor=”tan”>

<p><fontcolor=”blue”>

<marquee direction=”right”><i>this department related with computer


application</marquee></font></i></p><br>

<p>a department which is vastiy related with computer tools and have
a lot scopes in bpo sectors medical transcription and also joining the
technical field</p><br>

<a href=”home.html”>home</a>

</body>

</html>
Bsc(cdf).html

<html>

<head>

<h1>DEPARTMENT OF BSC CDF</h1></head>

<body bgcolor=”Aqua”>

<marquee direction=”right”><i>this department related with fashion


technology</marquee></font></i></p><br>

<p>this department tell a lot about fashion and hoe to design a


customer, after completing this corsrs one can became a fashion
designer</p><br>

<a href=”home.html”>/a></body>

</html>
Bsc(cs)&BCA.html

<html>

<head>

<h1>DEPARTMENT OF BSC CS</h1></head>

<body bgcolor=”pink”>

<p><font color=”green”>

<marquee direction=”right”><i>this department related with computer


science</marquee></font></i><p><br>

<p>a department which is vastiy related which computer field have a


of scope in it sector</p><br>

<a href=”home.html”>home</a></body>

</html>
OUTPUT:-
EX.NO : 8

DATE : LOCAL ORDER PROCESSING

AIM:-

To create a html program to support local order processing.

ALGORITHIM:-

STEP 1:- Start the program.

STEP 2:- Open the notepad.

STEP 3:- Include the html and head tag.

STEP 4:- Include the body tag.

STEP 5:- To create form by using tag and display the text box,

Commend button and reset button in the form.

STEP 6:- Close the body and html tag.

STEP 7:- Select the one file menu and save the file with *. html

Extension and close the Notepad.

STEP 8:- To view the file in the browser click the file menu and select

Open option, to open Dialog box is displayed.

STEP 9:- Click on browse button and select the path and execute the

File.
STEP 10:- Quite browser.

CODINGS:-

<html>

<head><title>local order processing</title>

<script language=”javascript”>

Function customer()

Var p=parselnt(f1.t6.value)

Var q=parselnt(f1.t7.value)

Alert(“The total price is”+ p*q)

</script></head>

<body><form name=”f1”><center>

<h1>LOCAL ORDER PROCESSING</h1>

<table>

<tr><td>order no<td><input name=”t1”>

<tr><td>customer name<td><input name=”t2”>

<tr><td>customer address<td><input name=”t3”>

<tr><td>customer contact no<td><input name=”t4”>

<tr><td>product name<td><input name=”t5”>

<tr><td>quantity<td><input name=”t6”>
<tr><td>unit price<td><input name=”t7”>

</td></tr></table>

<input type=”button”value=”local order processing” on click=”customer()”>

<input type=”reset” value=”clear”>

</form></Center></body>

</html>
OUTPUT:-
EX.NO : 9
CUSTOMER SURVEY FORM
DATE :

AIM:-

To create a html program to display the customer survey form

using java script.

ALGORITHIM:-

STEP 1:- Start the program.

STEP 2:- Open the notepad.

STEP 3:- Include the html and head tag.

STEP 4:- To create form by using form tag and display the text box,

Command and reset button in the form.

STEP 5:- Close the body and html tag.

STEP 6:- Select the one file menu and save the file with * html

Extension and close the notepad.

STEP 7:- To view the file in the browser click the file menu and select

Open option, to open dialog box is displayed.

STEP 8:- Click on browse button and select the path and execute the

File.

STEP 9:- Quit the browser.


CODINGS:-

<html>

<script language=”java script”>

Function a()

Document. Write(“<form name=’f1’>”);

Document. Write(“<center ><h1><b>customer survey for the


user</b></h1></center”)

Document. Write(“<bar><table><tr><td><h3>enter the user


name<td><input >

type=’text’ name=’user name’>”);

document. Write(“<br><tr><td><h3>enter the user address<td><text area


name=’address’

row=’5’cols=’30’></text area></table>”);

</script>

<body><p on click =”a()”>click me to load customer survey form</p>

</body>

</html>
OUTPUT:-
EX.NO : 10

DATE : MULTI FORM DOCUMENT

AIM:-

To create an html program to display multi form using java script.

ALGORITHIM:-

STEP 1:- Start the program.

STEP 2:- Open the notepad.

STEP 3:- Include the html and head tag.

STEP 4:- To create they frame to display multi form document using

Java script.

STEP 5:- Close the body and html tag.

STEP 6:- Select the one file menu and save the file with *.html

Extension and close the notepad.

STEP 7:- To view the file in the browser click the file menu and select

Open option, to open dialog box is displayed.

STEP 8:- Click on browse button and select the path and execute the

File.

STEP 9:- Quit the browser.


CODINGS:-

<html>

<head>

<title>Erode Christian college</title>

</head>

<body bgcolor=”yellow”><u><h1><Center>Erode christion college of arts


& science for

women</u></center></h1>

<br><p>2016 admission open for the following courses

<ul><li>b.com ca

<li>bsc cs

<li>bca

<li>ba eng

<li>bsc maths

</ul><br>

<p>if you want to apply fill up the enclosed

<a href=”application form.html”>application form</a>

</body>

</html>
Application form.html

<html>

<title>application form</title>

<body><h3>application form for admission to the UG courses</h3>

<br><form><table>

<tr><td>name of the applicant<td>

<input type=”text” name=’name’>

<tr><td>address<td><input type=’text’ name=”address”>

<tr><td>courses applied for:</tr>

<tr><td><input type=’radio’ name=’courses’>b.com ca

<tr><td><input type=’radio’ name=’courses’>b.sc cs

<tr><td><input type=’radio’ name=’courses’>bca

<tr><td><input type=’radio’ name=’courses’>ba eng

<tr><td><input type=’radio’ name=’courses’>bsc maths

<tr><td><input type=’submit’value=’send’>

<input type=’reset’ value=’clear’>

</title>

</form>

</body>

</html>
OUTPUT:-

Anda mungkin juga menyukai