SlideShare a Scribd company logo
Visual basic Assignment
Submitted By
Sachin Foujdar
BCA – 3rd Year
Dezyne E’ cole College
106/10, Civil Lines, Ajmer
Tel: 0145-2624679
www.dezyneecole.com
2015-2016
A WORK REPORT SUBMITTED
IN PARTIAL FULLFILLMENT OF THE REQUIREMENT FOR
THE DEGREE
Bachelor of Computer Application
Acknowledgement
This application(ATM) create in “Visual Basic” was developed at Dezyne
E’cole College.
The Following code represent is based on event driven programming
concept that are based on concept of event that are perform and executed
at run time.
During the making of this project I have learnt a lot and I thank my mentor
Mr. Tarun Sharma for helping us during the making of project.
I thank my college “Dezyne E’cole College” for having conducted this
“Identity” exhibition for helping us to bring out our skill.
With due Regards,
Sachin Foujdar
BCA 3rd Year
In the following pages I am showcasing my work.
ATM APPLICATION
Dim cn As New ADODB.Connection
Dim rs As New ADODB.Recordset
Dim a As Integer
Private Sub Command1_Click()
If tid.Text = "" Then
MsgBox ("Enter Your Account Number")
ElseIf tpswd.Text = "" Then
MsgBox ("Enter The Password")
Else
Timer1.Enabled = True
Label5.Visible = True
Label6.Visible = True
Set rs = New Recordset
rs.Open "select * from NewAccount where Acc_No='" &
tid.Text & "' and Password='" & tpswd.Text & "'", cn,
adOpenKeyset, adLockPessimistic
If rs.RecordCount <> 0 Then
If a = 3 Then
Form3.Show
Form3.Enabled = True
Unload Me
End If
Else
MsgBox ("Invalid User Account Number or Password"),
vbCritical
Timer1.Enabled = False
Label5.Visible = False
Label6.Visible = False
End If
End Sub
Source Code
Private Sub Command2_Click()
Option1.Enabled = True
Option3.Enabled = True
Option4.Enabled = True
End Sub
Private Sub Form_Activate()
Form2.Height = Screen.Height
Form2.Width = Screen.Width
Form2.Top = 0
Form2.Left = 0
Form2.BackColor = RGB(23, 116, 222)
Option1.BackColor = RGB(23, 116, 222)
Option3.BackColor = RGB(23, 116, 222)
Option4.BackColor = RGB(23, 116, 222)
tid.SetFocus
End Sub
Private Sub Form_Load()
Set cn = New Connection
cn.ConnectionString =
"Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=AtmDatabase.mdb;Persist Security Info=False"
cn.Open
Form2.Enabled = True
Option1.Enabled = False
Option3.Enabled = False
Option4.Enabled = False
End Sub
Private Sub Option1_Click()
Unload Me
form4.Show
End Sub
Private Sub Option3_Click()
Unload Me
End Sub
Private Sub Option4_Click()
Unload Me
Form9.Show
End Sub
Private Sub tid_lostfocus()
tpswd.SetFocus
End Sub
Private Sub Timer1_Timer()
If a = 0 Then
Label6.Caption = " "
Label6.Caption = "."
a = 1
ElseIf a = 1 Then
Label6.Caption = " "
Label6.Caption = ". ."
a = 2
ElseIf a = 2 Then
Label6.Caption = " "
Label6.Caption = ". . ."
a = 3
ElseIf a = 3 Then
Label6.Caption = " "
Label6.Caption = ". . . ."
Form3.Show
Form3.Enabled = True
Unload Me
End If
End Sub
Dim cn As New ADODB.Connection
Dim rs As New ADODB.Recordset
Dim m, p As Variant
Private Sub Command1_Click()
If Text1.Text = "" And Text2.Text = "" And Text3.Text = ""
And Text4.Text = "" And Text5.Text = "" And Text6.Text =
"" And Text10.Text = "" Then
MsgBox ("All Feilds are Requried")
Source Code
Else
Set rs = New Recordset
rs.Open "select * from NewAccount", cn, adOpenKeyset,
adLockPessimistic
Do Until rs.EOF
If Val(rs.Fields(7).Value) > m Then
m = rs.Fields(7).Value
p = rs.Fields(8).Value
End If
rs.MoveNext
Loop
m = Val(m) + 1
p = Val(p) + 1
Form10.Label2.Caption = m
Form10.Label5.Caption = p
With rs
rs.AddNew
rs.Fields(0) = Text1.Text
rs.Fields(1) = Text2.Text
rs.Fields(2) = Text3.Text
rs.Fields(3) = Option1.Caption
rs.Fields(4) = Text4.Text
rs.Fields(5) = Text5.Text
rs.Fields(6) = Text6.Text
rs.Fields(7) = Form10.Label2.Caption
rs.Fields(8) = Form10.Label5.Caption
rs.Fields(9) = Val(Text10.Text)
rs.Update
End With
MsgBox ("Your Account has been created"),
vbInformation
Unload Me
Form10.Show
End If
End Sub
Private Sub Command2_Click()
Unload Me
Form2.Show
End Sub
Private Sub Form_Activate()
form4.Height = Form1.Height
form4.Width = Form1.Width
form4.Top = 0
form4.Left = 0
form4.BackColor = RGB(23, 116, 222)
Text1.SetFocus
End Sub
Private Sub Form_Load()
Set cn = New Connection
cn.ConnectionString =
"Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=AtmDatabase.mdb;Persist Security Info=False"
cn.Open
End Sub
Private Sub Form_Activate()
Form5.Height = Form1.Height
Form5.Width = Form1.Width
Form5.Top = 0
Form5.Left = 0
Form5.BackColor = RGB(23,
116, 222)
End Sub
Source Code
Private Sub Form_Load()
Label4.Visible = False
Label5.Visible = False
Set cn = New Connection
cn.ConnectionString =
"Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=AtmDatabase.mdb;Persist Security Info=False"
cn.Open
End Sub
Private Sub Timer1_Timer()
If a = 0 Then
Label5.Caption = " "
Label5.Caption = "."
a = 1
ElseIf a = 1 Then
Label5.Caption = " "
Label5.Caption = ". ."
a = 2
ElseIf a = 2 Then
Label5.Caption = " "
Label5.Caption = ". . ."
MsgBox ("Your Account has been updated")
a = 3
ElseIf a = 3 Then
Label5.Caption = " "
Label5.Caption = ". . . ."
Form3.Show
Form3.Enabled = True
Unload Me
End If
End Sub
Thank You…
SACHIN FOUJDAR
Bachelor of Computer
Application
Dezyne E’cole College
106/10, CIVIL LINES
AJMER
RAJASTHAN - 305001 (INDIA)
www.dezyneecole.com

More Related Content

Similar to Sachin Foujdar , BCA Third Year

Spring 2014 CSCI 111 Final exam of 1 61. (2 points) Fl.docx
Spring 2014 CSCI 111 Final exam   of 1 61. (2 points) Fl.docxSpring 2014 CSCI 111 Final exam   of 1 61. (2 points) Fl.docx
Spring 2014 CSCI 111 Final exam of 1 61. (2 points) Fl.docx
rafbolet0
 
Kuldeep Singh Project on C language and Visual Basic ,Final Year BCA ,Dezyne ...
Kuldeep Singh Project on C language and Visual Basic ,Final Year BCA ,Dezyne ...Kuldeep Singh Project on C language and Visual Basic ,Final Year BCA ,Dezyne ...
Kuldeep Singh Project on C language and Visual Basic ,Final Year BCA ,Dezyne ...
dezyneecole
 
C-LOOP-Session-2.pptx
C-LOOP-Session-2.pptxC-LOOP-Session-2.pptx
C-LOOP-Session-2.pptx
Sarkunavathi Aribal
 
Ooad lab manual
Ooad lab manualOoad lab manual
Ooad lab manual
Umamurthi Umamurthi
 
Final report mobile shop
Final report   mobile shopFinal report   mobile shop
Final report mobile shop
Viditsingh22
 
Md university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab newMd university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab new
Last7693
 
Md university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab newMd university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab new
scottbrownnn
 
Md university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab newMd university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab new
eyavagal
 
Analysis of Microsoft Code Contracts
Analysis of Microsoft Code ContractsAnalysis of Microsoft Code Contracts
Analysis of Microsoft Code Contracts
PVS-Studio
 
Ch 4
Ch 4Ch 4
Ch 4
AMIT JAIN
 
R Tanenbaum .Net Portfolio
R Tanenbaum .Net PortfolioR Tanenbaum .Net Portfolio
R Tanenbaum .Net Portfolio
Robert Tanenbaum
 
Reactive programming every day
Reactive programming every dayReactive programming every day
Reactive programming every day
Vadym Khondar
 
Project: Call Center Management
Project: Call Center ManagementProject: Call Center Management
Project: Call Center Management
pritamkumar
 
C101-PracticeProblems.pdf
C101-PracticeProblems.pdfC101-PracticeProblems.pdf
C101-PracticeProblems.pdf
T17Rockstar
 
Database By Salman Mushtaq
Database By Salman MushtaqDatabase By Salman Mushtaq
Database By Salman MushtaqSalman Mushtaq
 
Visual basic 6.0
Visual basic 6.0Visual basic 6.0
Visual basic 6.0Aarti P
 
F sharp - an overview
F sharp - an overviewF sharp - an overview
F sharp - an overview
Christoph Santschi
 

Similar to Sachin Foujdar , BCA Third Year (20)

Spring 2014 CSCI 111 Final exam of 1 61. (2 points) Fl.docx
Spring 2014 CSCI 111 Final exam   of 1 61. (2 points) Fl.docxSpring 2014 CSCI 111 Final exam   of 1 61. (2 points) Fl.docx
Spring 2014 CSCI 111 Final exam of 1 61. (2 points) Fl.docx
 
Kuldeep Singh Project on C language and Visual Basic ,Final Year BCA ,Dezyne ...
Kuldeep Singh Project on C language and Visual Basic ,Final Year BCA ,Dezyne ...Kuldeep Singh Project on C language and Visual Basic ,Final Year BCA ,Dezyne ...
Kuldeep Singh Project on C language and Visual Basic ,Final Year BCA ,Dezyne ...
 
C-LOOP-Session-2.pptx
C-LOOP-Session-2.pptxC-LOOP-Session-2.pptx
C-LOOP-Session-2.pptx
 
Ooad lab manual
Ooad lab manualOoad lab manual
Ooad lab manual
 
Final report mobile shop
Final report   mobile shopFinal report   mobile shop
Final report mobile shop
 
Qtp day 3
Qtp day 3Qtp day 3
Qtp day 3
 
Md university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab newMd university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab new
 
Md university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab newMd university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab new
 
Md university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab newMd university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab new
 
Analysis of Microsoft Code Contracts
Analysis of Microsoft Code ContractsAnalysis of Microsoft Code Contracts
Analysis of Microsoft Code Contracts
 
Ch 4
Ch 4Ch 4
Ch 4
 
R Tanenbaum .Net Portfolio
R Tanenbaum .Net PortfolioR Tanenbaum .Net Portfolio
R Tanenbaum .Net Portfolio
 
Reactive programming every day
Reactive programming every dayReactive programming every day
Reactive programming every day
 
Project: Call Center Management
Project: Call Center ManagementProject: Call Center Management
Project: Call Center Management
 
C101-PracticeProblems.pdf
C101-PracticeProblems.pdfC101-PracticeProblems.pdf
C101-PracticeProblems.pdf
 
Rhino Mocks
Rhino MocksRhino Mocks
Rhino Mocks
 
Database By Salman Mushtaq
Database By Salman MushtaqDatabase By Salman Mushtaq
Database By Salman Mushtaq
 
Databases with SQLite3.pdf
Databases with SQLite3.pdfDatabases with SQLite3.pdf
Databases with SQLite3.pdf
 
Visual basic 6.0
Visual basic 6.0Visual basic 6.0
Visual basic 6.0
 
F sharp - an overview
F sharp - an overviewF sharp - an overview
F sharp - an overview
 

More from Dezyneecole

Pratibha Kumari, Diploma Fashion Design First Year, (Basic Pattern Developmen...
Pratibha Kumari, Diploma Fashion Design First Year, (Basic Pattern Developmen...Pratibha Kumari, Diploma Fashion Design First Year, (Basic Pattern Developmen...
Pratibha Kumari, Diploma Fashion Design First Year, (Basic Pattern Developmen...
Dezyneecole
 
Shaily Goyar, Diploma Fashion Design First Year, (Basic Pattern Development P...
Shaily Goyar, Diploma Fashion Design First Year, (Basic Pattern Development P...Shaily Goyar, Diploma Fashion Design First Year, (Basic Pattern Development P...
Shaily Goyar, Diploma Fashion Design First Year, (Basic Pattern Development P...
Dezyneecole
 
Shaily Goyar, Diploma Fashion Design First Year, (Fashion illustration for Fa...
Shaily Goyar, Diploma Fashion Design First Year, (Fashion illustration for Fa...Shaily Goyar, Diploma Fashion Design First Year, (Fashion illustration for Fa...
Shaily Goyar, Diploma Fashion Design First Year, (Fashion illustration for Fa...
Dezyneecole
 
Shaily Goyar, Diploma Fashion Design First Year, (Embroidery Project)
Shaily Goyar, Diploma Fashion Design First Year, (Embroidery Project)Shaily Goyar, Diploma Fashion Design First Year, (Embroidery Project)
Shaily Goyar, Diploma Fashion Design First Year, (Embroidery Project)
Dezyneecole
 
Shaily Goyar, Diploma Fashion Design First Year, (Fashion Draping Project)
Shaily Goyar, Diploma Fashion Design First Year, (Fashion Draping Project)Shaily Goyar, Diploma Fashion Design First Year, (Fashion Draping Project)
Shaily Goyar, Diploma Fashion Design First Year, (Fashion Draping Project)
Dezyneecole
 
Shaily Goyar, Diploma Fashion Design First Year, (Design Basics Project)
Shaily Goyar, Diploma Fashion Design First Year, (Design Basics Project)Shaily Goyar, Diploma Fashion Design First Year, (Design Basics Project)
Shaily Goyar, Diploma Fashion Design First Year, (Design Basics Project)
Dezyneecole
 
Shaily Goyar, Diploma Fashion Design First Year, (Corel Draw Project)
Shaily Goyar, Diploma Fashion Design First Year, (Corel Draw Project)Shaily Goyar, Diploma Fashion Design First Year, (Corel Draw Project)
Shaily Goyar, Diploma Fashion Design First Year, (Corel Draw Project)
Dezyneecole
 
Tanya Jain, Diploma Fashion Design First Year, (Fashion illustration for Fash...
Tanya Jain, Diploma Fashion Design First Year, (Fashion illustration for Fash...Tanya Jain, Diploma Fashion Design First Year, (Fashion illustration for Fash...
Tanya Jain, Diploma Fashion Design First Year, (Fashion illustration for Fash...
Dezyneecole
 
Tanya Jain , Diploma Fashion Design First Year, (Basic Pattern Development Pr...
Tanya Jain , Diploma Fashion Design First Year, (Basic Pattern Development Pr...Tanya Jain , Diploma Fashion Design First Year, (Basic Pattern Development Pr...
Tanya Jain , Diploma Fashion Design First Year, (Basic Pattern Development Pr...
Dezyneecole
 
Tanya Jain, Diploma Fashion Design First Year, (Embroidery Project)
Tanya Jain, Diploma Fashion Design First Year, (Embroidery Project)Tanya Jain, Diploma Fashion Design First Year, (Embroidery Project)
Tanya Jain, Diploma Fashion Design First Year, (Embroidery Project)
Dezyneecole
 
Tanya Jain, Diploma Fashion Design First Year, (Fashion Draping Project)
Tanya Jain, Diploma Fashion Design First Year, (Fashion Draping Project)Tanya Jain, Diploma Fashion Design First Year, (Fashion Draping Project)
Tanya Jain, Diploma Fashion Design First Year, (Fashion Draping Project)
Dezyneecole
 
Tanya Jain , Diploma Fashion Design First Year, (Design Basics Project)
Tanya Jain , Diploma Fashion Design First Year, (Design Basics Project)Tanya Jain , Diploma Fashion Design First Year, (Design Basics Project)
Tanya Jain , Diploma Fashion Design First Year, (Design Basics Project)
Dezyneecole
 
Gouri Ramchandani, Diploma Fashion Design First Year, (Illustration For Fashi...
Gouri Ramchandani, Diploma Fashion Design First Year, (Illustration For Fashi...Gouri Ramchandani, Diploma Fashion Design First Year, (Illustration For Fashi...
Gouri Ramchandani, Diploma Fashion Design First Year, (Illustration For Fashi...
Dezyneecole
 
Gouri Ramchandani, Diploma Fashion Design First Year, (Basic Pattern Developm...
Gouri Ramchandani, Diploma Fashion Design First Year, (Basic Pattern Developm...Gouri Ramchandani, Diploma Fashion Design First Year, (Basic Pattern Developm...
Gouri Ramchandani, Diploma Fashion Design First Year, (Basic Pattern Developm...
Dezyneecole
 
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
Dezyneecole
 
Gouri Ramchandani, Diploma Fashion Design First Year, (Design Basics Project)
Gouri Ramchandani, Diploma Fashion Design First Year, (Design Basics  Project)Gouri Ramchandani, Diploma Fashion Design First Year, (Design Basics  Project)
Gouri Ramchandani, Diploma Fashion Design First Year, (Design Basics Project)
Dezyneecole
 
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
Dezyneecole
 
Dimple Mordani, Diploma Fashion Design First Year, (Embroidery Project)
Dimple Mordani, Diploma Fashion Design First Year, (Embroidery  Project)Dimple Mordani, Diploma Fashion Design First Year, (Embroidery  Project)
Dimple Mordani, Diploma Fashion Design First Year, (Embroidery Project)
Dezyneecole
 
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
Dezyneecole
 
Dimple Mordani, Diploma Fashion Design First Year, (Basic Pattern Development...
Dimple Mordani, Diploma Fashion Design First Year, (Basic Pattern Development...Dimple Mordani, Diploma Fashion Design First Year, (Basic Pattern Development...
Dimple Mordani, Diploma Fashion Design First Year, (Basic Pattern Development...
Dezyneecole
 

More from Dezyneecole (20)

Pratibha Kumari, Diploma Fashion Design First Year, (Basic Pattern Developmen...
Pratibha Kumari, Diploma Fashion Design First Year, (Basic Pattern Developmen...Pratibha Kumari, Diploma Fashion Design First Year, (Basic Pattern Developmen...
Pratibha Kumari, Diploma Fashion Design First Year, (Basic Pattern Developmen...
 
Shaily Goyar, Diploma Fashion Design First Year, (Basic Pattern Development P...
Shaily Goyar, Diploma Fashion Design First Year, (Basic Pattern Development P...Shaily Goyar, Diploma Fashion Design First Year, (Basic Pattern Development P...
Shaily Goyar, Diploma Fashion Design First Year, (Basic Pattern Development P...
 
Shaily Goyar, Diploma Fashion Design First Year, (Fashion illustration for Fa...
Shaily Goyar, Diploma Fashion Design First Year, (Fashion illustration for Fa...Shaily Goyar, Diploma Fashion Design First Year, (Fashion illustration for Fa...
Shaily Goyar, Diploma Fashion Design First Year, (Fashion illustration for Fa...
 
Shaily Goyar, Diploma Fashion Design First Year, (Embroidery Project)
Shaily Goyar, Diploma Fashion Design First Year, (Embroidery Project)Shaily Goyar, Diploma Fashion Design First Year, (Embroidery Project)
Shaily Goyar, Diploma Fashion Design First Year, (Embroidery Project)
 
Shaily Goyar, Diploma Fashion Design First Year, (Fashion Draping Project)
Shaily Goyar, Diploma Fashion Design First Year, (Fashion Draping Project)Shaily Goyar, Diploma Fashion Design First Year, (Fashion Draping Project)
Shaily Goyar, Diploma Fashion Design First Year, (Fashion Draping Project)
 
Shaily Goyar, Diploma Fashion Design First Year, (Design Basics Project)
Shaily Goyar, Diploma Fashion Design First Year, (Design Basics Project)Shaily Goyar, Diploma Fashion Design First Year, (Design Basics Project)
Shaily Goyar, Diploma Fashion Design First Year, (Design Basics Project)
 
Shaily Goyar, Diploma Fashion Design First Year, (Corel Draw Project)
Shaily Goyar, Diploma Fashion Design First Year, (Corel Draw Project)Shaily Goyar, Diploma Fashion Design First Year, (Corel Draw Project)
Shaily Goyar, Diploma Fashion Design First Year, (Corel Draw Project)
 
Tanya Jain, Diploma Fashion Design First Year, (Fashion illustration for Fash...
Tanya Jain, Diploma Fashion Design First Year, (Fashion illustration for Fash...Tanya Jain, Diploma Fashion Design First Year, (Fashion illustration for Fash...
Tanya Jain, Diploma Fashion Design First Year, (Fashion illustration for Fash...
 
Tanya Jain , Diploma Fashion Design First Year, (Basic Pattern Development Pr...
Tanya Jain , Diploma Fashion Design First Year, (Basic Pattern Development Pr...Tanya Jain , Diploma Fashion Design First Year, (Basic Pattern Development Pr...
Tanya Jain , Diploma Fashion Design First Year, (Basic Pattern Development Pr...
 
Tanya Jain, Diploma Fashion Design First Year, (Embroidery Project)
Tanya Jain, Diploma Fashion Design First Year, (Embroidery Project)Tanya Jain, Diploma Fashion Design First Year, (Embroidery Project)
Tanya Jain, Diploma Fashion Design First Year, (Embroidery Project)
 
Tanya Jain, Diploma Fashion Design First Year, (Fashion Draping Project)
Tanya Jain, Diploma Fashion Design First Year, (Fashion Draping Project)Tanya Jain, Diploma Fashion Design First Year, (Fashion Draping Project)
Tanya Jain, Diploma Fashion Design First Year, (Fashion Draping Project)
 
Tanya Jain , Diploma Fashion Design First Year, (Design Basics Project)
Tanya Jain , Diploma Fashion Design First Year, (Design Basics Project)Tanya Jain , Diploma Fashion Design First Year, (Design Basics Project)
Tanya Jain , Diploma Fashion Design First Year, (Design Basics Project)
 
Gouri Ramchandani, Diploma Fashion Design First Year, (Illustration For Fashi...
Gouri Ramchandani, Diploma Fashion Design First Year, (Illustration For Fashi...Gouri Ramchandani, Diploma Fashion Design First Year, (Illustration For Fashi...
Gouri Ramchandani, Diploma Fashion Design First Year, (Illustration For Fashi...
 
Gouri Ramchandani, Diploma Fashion Design First Year, (Basic Pattern Developm...
Gouri Ramchandani, Diploma Fashion Design First Year, (Basic Pattern Developm...Gouri Ramchandani, Diploma Fashion Design First Year, (Basic Pattern Developm...
Gouri Ramchandani, Diploma Fashion Design First Year, (Basic Pattern Developm...
 
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
 
Gouri Ramchandani, Diploma Fashion Design First Year, (Design Basics Project)
Gouri Ramchandani, Diploma Fashion Design First Year, (Design Basics  Project)Gouri Ramchandani, Diploma Fashion Design First Year, (Design Basics  Project)
Gouri Ramchandani, Diploma Fashion Design First Year, (Design Basics Project)
 
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
 
Dimple Mordani, Diploma Fashion Design First Year, (Embroidery Project)
Dimple Mordani, Diploma Fashion Design First Year, (Embroidery  Project)Dimple Mordani, Diploma Fashion Design First Year, (Embroidery  Project)
Dimple Mordani, Diploma Fashion Design First Year, (Embroidery Project)
 
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
 
Dimple Mordani, Diploma Fashion Design First Year, (Basic Pattern Development...
Dimple Mordani, Diploma Fashion Design First Year, (Basic Pattern Development...Dimple Mordani, Diploma Fashion Design First Year, (Basic Pattern Development...
Dimple Mordani, Diploma Fashion Design First Year, (Basic Pattern Development...
 

Recently uploaded

clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
NelTorrente
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
goswamiyash170123
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
Krisztián Száraz
 
kitab khulasah nurul yaqin jilid 1 - 2.pptx
kitab khulasah nurul yaqin jilid 1 - 2.pptxkitab khulasah nurul yaqin jilid 1 - 2.pptx
kitab khulasah nurul yaqin jilid 1 - 2.pptx
datarid22
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
What is the purpose of studying mathematics.pptx
What is the purpose of studying mathematics.pptxWhat is the purpose of studying mathematics.pptx
What is the purpose of studying mathematics.pptx
christianmathematics
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
Reflective and Evaluative Practice PowerPoint
Reflective and Evaluative Practice PowerPointReflective and Evaluative Practice PowerPoint
Reflective and Evaluative Practice PowerPoint
amberjdewit93
 

Recently uploaded (20)

clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
 
kitab khulasah nurul yaqin jilid 1 - 2.pptx
kitab khulasah nurul yaqin jilid 1 - 2.pptxkitab khulasah nurul yaqin jilid 1 - 2.pptx
kitab khulasah nurul yaqin jilid 1 - 2.pptx
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
What is the purpose of studying mathematics.pptx
What is the purpose of studying mathematics.pptxWhat is the purpose of studying mathematics.pptx
What is the purpose of studying mathematics.pptx
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
Reflective and Evaluative Practice PowerPoint
Reflective and Evaluative Practice PowerPointReflective and Evaluative Practice PowerPoint
Reflective and Evaluative Practice PowerPoint
 

Sachin Foujdar , BCA Third Year

  • 1. Visual basic Assignment Submitted By Sachin Foujdar BCA – 3rd Year Dezyne E’ cole College 106/10, Civil Lines, Ajmer Tel: 0145-2624679 www.dezyneecole.com 2015-2016 A WORK REPORT SUBMITTED IN PARTIAL FULLFILLMENT OF THE REQUIREMENT FOR THE DEGREE Bachelor of Computer Application
  • 2. Acknowledgement This application(ATM) create in “Visual Basic” was developed at Dezyne E’cole College. The Following code represent is based on event driven programming concept that are based on concept of event that are perform and executed at run time. During the making of this project I have learnt a lot and I thank my mentor Mr. Tarun Sharma for helping us during the making of project. I thank my college “Dezyne E’cole College” for having conducted this “Identity” exhibition for helping us to bring out our skill. With due Regards, Sachin Foujdar BCA 3rd Year
  • 3. In the following pages I am showcasing my work. ATM APPLICATION
  • 4. Dim cn As New ADODB.Connection Dim rs As New ADODB.Recordset Dim a As Integer Private Sub Command1_Click() If tid.Text = "" Then MsgBox ("Enter Your Account Number") ElseIf tpswd.Text = "" Then MsgBox ("Enter The Password") Else Timer1.Enabled = True Label5.Visible = True Label6.Visible = True Set rs = New Recordset rs.Open "select * from NewAccount where Acc_No='" & tid.Text & "' and Password='" & tpswd.Text & "'", cn, adOpenKeyset, adLockPessimistic If rs.RecordCount <> 0 Then If a = 3 Then Form3.Show Form3.Enabled = True Unload Me End If Else MsgBox ("Invalid User Account Number or Password"), vbCritical Timer1.Enabled = False Label5.Visible = False Label6.Visible = False End If End Sub Source Code
  • 5. Private Sub Command2_Click() Option1.Enabled = True Option3.Enabled = True Option4.Enabled = True End Sub Private Sub Form_Activate() Form2.Height = Screen.Height Form2.Width = Screen.Width Form2.Top = 0 Form2.Left = 0 Form2.BackColor = RGB(23, 116, 222) Option1.BackColor = RGB(23, 116, 222) Option3.BackColor = RGB(23, 116, 222) Option4.BackColor = RGB(23, 116, 222) tid.SetFocus End Sub Private Sub Form_Load() Set cn = New Connection cn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=AtmDatabase.mdb;Persist Security Info=False" cn.Open Form2.Enabled = True Option1.Enabled = False Option3.Enabled = False Option4.Enabled = False End Sub Private Sub Option1_Click() Unload Me form4.Show End Sub
  • 6. Private Sub Option3_Click() Unload Me End Sub Private Sub Option4_Click() Unload Me Form9.Show End Sub Private Sub tid_lostfocus() tpswd.SetFocus End Sub Private Sub Timer1_Timer() If a = 0 Then Label6.Caption = " " Label6.Caption = "." a = 1 ElseIf a = 1 Then Label6.Caption = " " Label6.Caption = ". ." a = 2 ElseIf a = 2 Then Label6.Caption = " " Label6.Caption = ". . ." a = 3 ElseIf a = 3 Then Label6.Caption = " " Label6.Caption = ". . . ." Form3.Show Form3.Enabled = True Unload Me End If End Sub
  • 7. Dim cn As New ADODB.Connection Dim rs As New ADODB.Recordset Dim m, p As Variant Private Sub Command1_Click() If Text1.Text = "" And Text2.Text = "" And Text3.Text = "" And Text4.Text = "" And Text5.Text = "" And Text6.Text = "" And Text10.Text = "" Then MsgBox ("All Feilds are Requried") Source Code
  • 8. Else Set rs = New Recordset rs.Open "select * from NewAccount", cn, adOpenKeyset, adLockPessimistic Do Until rs.EOF If Val(rs.Fields(7).Value) > m Then m = rs.Fields(7).Value p = rs.Fields(8).Value End If rs.MoveNext Loop m = Val(m) + 1 p = Val(p) + 1 Form10.Label2.Caption = m Form10.Label5.Caption = p With rs rs.AddNew rs.Fields(0) = Text1.Text rs.Fields(1) = Text2.Text rs.Fields(2) = Text3.Text rs.Fields(3) = Option1.Caption rs.Fields(4) = Text4.Text rs.Fields(5) = Text5.Text rs.Fields(6) = Text6.Text rs.Fields(7) = Form10.Label2.Caption rs.Fields(8) = Form10.Label5.Caption rs.Fields(9) = Val(Text10.Text) rs.Update End With MsgBox ("Your Account has been created"), vbInformation
  • 9. Unload Me Form10.Show End If End Sub Private Sub Command2_Click() Unload Me Form2.Show End Sub Private Sub Form_Activate() form4.Height = Form1.Height form4.Width = Form1.Width form4.Top = 0 form4.Left = 0 form4.BackColor = RGB(23, 116, 222) Text1.SetFocus End Sub Private Sub Form_Load() Set cn = New Connection cn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=AtmDatabase.mdb;Persist Security Info=False" cn.Open End Sub
  • 10. Private Sub Form_Activate() Form5.Height = Form1.Height Form5.Width = Form1.Width Form5.Top = 0 Form5.Left = 0 Form5.BackColor = RGB(23, 116, 222) End Sub Source Code
  • 11. Private Sub Form_Load() Label4.Visible = False Label5.Visible = False Set cn = New Connection cn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=AtmDatabase.mdb;Persist Security Info=False" cn.Open End Sub Private Sub Timer1_Timer() If a = 0 Then Label5.Caption = " " Label5.Caption = "." a = 1 ElseIf a = 1 Then Label5.Caption = " " Label5.Caption = ". ." a = 2 ElseIf a = 2 Then Label5.Caption = " " Label5.Caption = ". . ." MsgBox ("Your Account has been updated") a = 3 ElseIf a = 3 Then Label5.Caption = " " Label5.Caption = ". . . ." Form3.Show Form3.Enabled = True Unload Me End If End Sub
  • 12. Thank You… SACHIN FOUJDAR Bachelor of Computer Application Dezyne E’cole College 106/10, CIVIL LINES AJMER RAJASTHAN - 305001 (INDIA) www.dezyneecole.com