dinesh narayan ,final year bca ,dezyne e'cole college
TRANSCRIPT
Application on Visual Basic Language
Submitted ByDinesh Narayan
BCA – 3rd Year
Dezyne E’ Cole College106/10, Civil Lines, Ajmer
Tel: 0145-2624679www.dezyneecole.com
2015-2016
Acknowledgement
This application on “Visual Basic Language” was developed at Dezyne E’cole College.
During the making of this project I have learnt a lot and I thank my mentors Mr. Tarun Sharma for helping us during the making of project.
With due Regards,
Dinesh Narayan
BCA 3rd Year
Synopsys
This application on “Visual Basic Language” was developed at Dezyne E’cole College.
In This project I have described about the working Color Pallet and Stopwatch
Color Pallet
Dinesh NarayanBachelor of Computer Application 3rd Year Dezyne E’cole Collegewww.dezyneecole.com
ColorPallet
Dinesh NarayanBachelor of Computer Application 3rd Year Dezyne E’cole Collegewww.dezyneecole.com
Private Sub VScroll1_scroll()Form1.BackColor = RGB(VScroll1.Value, VScroll2, VScroll3)Text1.Text = VScroll1End Sub
Private Sub VScroll2_Scroll()Form1.BackColor = RGB(VScroll1.Value, VScroll2, VScroll3)Text2.Text = VScroll2End Sub
Private Sub VScroll3_Scroll()Form1.BackColor = RGB(VScroll1.Value, VScroll2, VScroll3)Text3.Text = VScroll3End Sub
Stopwatch
Dinesh NarayanBachelor of Computer Application 3rd Year Dezyne E’cole Collegewww.dezyneecole.com
Stopwatch
Dinesh NarayanBachelor of Computer Application 3rd Year Dezyne E’cole Collegewww.dezyneecole.com
Dim a As IntegerDim i As IntegerDim ii As Integer
Dim k As IntegerDim n As Integer
Private Sub Command1_Click()i = 0k = 0n = 0ii = 0Timer1.Enabled = 1Timer3.Enabled = 1End Sub
Private Sub Command2_Click()Timer1.Enabled = 0Timer3.Enabled = 0End Sub
Stopwatch
Dinesh NarayanBachelor of Computer Application 3rd Year Dezyne E’cole Collegewww.dezyneecole.com
Private Sub Form_Load()Timer2.Enabled = 1Label2.Caption = 0Label3.Caption = 0Label4.Caption = 0Label9.ForeColor = vbWhiteLabel7.ForeColor = vbWhiteLabel10.ForeColor = vbWhiteLabel2.ForeColor = vbWhiteLabel3.ForeColor = vbWhiteLabel4.ForeColor = vbWhiteLabel5.ForeColor = vbWhiteLabel6.ForeColor = vbWhiteCommand1.BackColor = vbGreenCommand2.BackColor = vbRedEnd Sub
Stopwatch
Dinesh NarayanBachelor of Computer Application 3rd Year Dezyne E’cole Collegewww.dezyneecole.com
Private Sub Timer1_Timer()i = i + 1Label2.Caption = iIf i = 60 Theni = 0k = k + 1Else: End IfLabel3.Caption = kIf k = 60 Thenk = 0n = n + 1Else: End IfLabel4.Caption = n
If n = 24 Thenn = 0
Else: End If
End Sub
Stopwatch
Dinesh NarayanBachelor of Computer Application 3rd Year Dezyne E’cole Collegewww.dezyneecole.com
Private Sub Timer2_Timer()Label1.Caption = TimeLabel1.ForeColor = vbWhitestopwatch.BackColor = QBColor(a)a = a + 1If a = 10 Then a = 0End IfEnd Sub
Private Sub Timer3_Timer()ii = ii + 1Label9.Caption = iiIf ii = 99 Thenii = 0ElseEnd If
End Sub