Presiding Officer Training module 2024 lok sabha elections
Front End Design Tool VB.Net BCA 205
1. Chanderprabhu Jain College of Higher Studies & School of Law
Plot No. OCF, Sector A-8, Narela, New Delhi – 110040
(Affiliated to Guru Gobind Singh Indraprastha University and Approved by Govt of NCT of Delhi & Bar Council of India)
qd
CLASS: BCA IIIrd Semester
PAPER NAME: FRONT END DESIGN TOOL VB.NET
PAPER CODE: BCA 205
UNIT-1
FACULTY NAME:MS.ANJALI RANA
2. UNIT-I VB.NET Programming and the .NET Architecture
Planning and Designing for .NET
– Programming Language Hierarchy
– The .NET Infrastructure
– .NET Project Types
– Designing for .NET
– Application Design Issues
Chanderprabhu Jain College of Higher Studies & School of Law
Plot No. OCF, Sector A-8, Narela, New Delhi – 110040
(Affiliated to Guru Gobind Singh Indraprastha University and Approved by Govt of NCT of Delhi & Bar Council of India)
3. Language Hierarchy
Machine Code
Assembly
Compiler
Runtime Engine (JIT)
Intermediate Language
Un-managed Code
Managed Code
Compiler
Chanderprabhu Jain College of Higher Studies & School of Law
Plot No. OCF, Sector A-8, Narela, New Delhi – 110040
(Affiliated to Guru Gobind Singh Indraprastha University and Approved by Govt of NCT of Delhi & Bar Council of India)
4. .NET Infrastructure
.NET Framework
CLR
Portable Executable
VB C# VJ#
Application Manifest MSIL
Chanderprabhu Jain College of Higher Studies & School of Law
Plot No. OCF, Sector A-8, Narela, New Delhi – 110040
(Affiliated to Guru Gobind Singh Indraprastha University and Approved by Govt of NCT of Delhi & Bar Council of India)
5. ASP.NET Architecture
CLR
DATABASE
ASP.NET
IIS
.NET Framework
HTTP Request In HTTP Response Out
ASP HTML
Chanderprabhu Jain College of Higher Studies & School of Law
Plot No. OCF, Sector A-8, Narela, New Delhi – 110040
(Affiliated to Guru Gobind Singh Indraprastha University and Approved by Govt of NCT of Delhi & Bar Council of India)
6. Creating a Windows-Based Application in Visual Basic
.NET
Lesson A Objectives
• Start and customize Visual Studio.NET
• Create a Visual Studio .NET solution
• Add a Visual Basic .NET project to a solution
• Set the properties of an object
• Restore a property to its default setting
Chanderprabhu Jain College of Higher Studies & School of Law
Plot No. OCF, Sector A-8, Narela, New Delhi – 110040
(Affiliated to Guru Gobind Singh Indraprastha University and Approved by Govt of NCT of Delhi & Bar Council of India)
7. Creating a Windows-Based Application in Visual Basic .NET
Lesson A Objectives (continued)
• Save a solution, project, and form
• Close a solution
• Open an existing solution
Chanderprabhu Jain College of Higher Studies & School of Law
Plot No. OCF, Sector A-8, Narela, New Delhi – 110040
(Affiliated to Guru Gobind Singh Indraprastha University and Approved by Govt of NCT of Delhi & Bar Council of India)
8. Starting and Customizing
Visual Studio .NET
• Visual Studio .NET is Microsoft’s newest integrated development
environment (IDE)
– Includes programming languages such as Visual Basic .NET, C++
.NET, and C# .NET
• A Windows-based application has a Windows user interface and runs on a
desktop computer
• A user interface is what you see and interact with when using an
application
• A Web-based application has a Web user interface and runs on a server
Chanderprabhu Jain College of Higher Studies & School of Law
Plot No. OCF, Sector A-8, Narela, New Delhi – 110040
(Affiliated to Guru Gobind Singh Indraprastha University and Approved by Govt of NCT of Delhi & Bar Council of India)
9. Starting and Customizing
Visual Studio .NET (continued)
• Windows in the Visual Studio .NET IDE:
– Start Page
– Solution Explorer
– Server Explorer
– Toolbox
– Class View
– Dynamic Help
Chanderprabhu Jain College of Higher Studies & School of Law
Plot No. OCF, Sector A-8, Narela, New Delhi – 110040
(Affiliated to Guru Gobind Singh Indraprastha University and Approved by Govt of NCT of Delhi & Bar Council of India)
10. .NET Projects
• Windows Application
• Web Application
• Class Library
• Windows Service
• Web Service
• Control Libraries
• Setup and Deployment
Chanderprabhu Jain College of Higher Studies & School of Law
Plot No. OCF, Sector A-8, Narela, New Delhi – 110040
(Affiliated to Guru Gobind Singh Indraprastha University and Approved by Govt of NCT of Delhi & Bar Council of India)
11. Designing for .NET
• Standalone Architecture
– Single PE
• Three-Tier Architecture
– Presentation Tier
– Business Logic Tier
– Data Tier
• N-Tier Architecture
– Web services
– Mobile Applications
Chanderprabhu Jain College of Higher Studies & School of Law
Plot No. OCF, Sector A-8, Narela, New Delhi – 110040
(Affiliated to Guru Gobind Singh Indraprastha University and Approved by Govt of NCT of Delhi & Bar Council of India)
12. UNIT-II
Variable Scope
• Dim
• Protected (Module Level Access)
• Private (Base Class Level Access)
• Public (Project Level)
• Friend (Assembly Level)
• Static
• Shared
Chanderprabhu Jain College of Higher Studies & School of Law
Plot No. OCF, Sector A-8, Narela, New Delhi – 110040
(Affiliated to Guru Gobind Singh Indraprastha University and Approved by Govt of NCT of Delhi & Bar Council of India)
13. Arrays and Collections
Array
• Size
• Item(Index)
Collection
• Size
• Item(Index)
• Item(Key)
• Add(Item)
• Remove(Item)
• Contains(Item)
[Array and collection demonstration]Chanderprabhu Jain College of Higher Studies & School of Law
Plot No. OCF, Sector A-8, Narela, New Delhi – 110040
(Affiliated to Guru Gobind Singh Indraprastha University and Approved by Govt of NCT of Delhi & Bar Council of India)
14. Object Passing and Parameters
Object Passing
• ByRef
• ByVal
Optional Parameters
• Keyword: Optional
• = [Default Value]
Chanderprabhu Jain College of Higher Studies & School of Law
Plot No. OCF, Sector A-8, Narela, New Delhi – 110040
(Affiliated to Guru Gobind Singh Indraprastha University and Approved by Govt of NCT of Delhi & Bar Council of India)
15. Inheritance Control
Overrides
• Replaces inherited member with permission
Shadows
• Masks inherited member
[Inheritance Control demonstration]Chanderprabhu Jain College of Higher Studies & School of Law
Plot No. OCF, Sector A-8, Narela, New Delhi – 110040
(Affiliated to Guru Gobind Singh Indraprastha University and Approved by Govt of NCT of Delhi & Bar Council of India)
16. Threading
Application Threading Concepts
• The application thread
• System.Threading Namespace
• Thread.Kill, Sleep, Suspend
• Threading Issues
– Dangling Threads
– Synchronization
– Thread Safety
Chanderprabhu Jain College of Higher Studies & School of Law
Plot No. OCF, Sector A-8, Narela, New Delhi – 110040
(Affiliated to Guru Gobind Singh Indraprastha University and Approved by Govt of NCT of Delhi & Bar Council of India)
17. Delegates
Process Flow Delegation
• The Delegate Keyword
• Delegate Declaration
• The AddressOf keyword
• Multicasting
– System.Delegate.Combine
Chanderprabhu Jain College of Higher Studies & School of Law
Plot No. OCF, Sector A-8, Narela, New Delhi – 110040
(Affiliated to Guru Gobind Singh Indraprastha University and Approved by Govt of NCT of Delhi & Bar Council of India)
18. Exception Handling
Types of Errors
• Syntax Errors
• Logic Errors
• Runtime Errors
Chanderprabhu Jain College of Higher Studies & School of Law
Plot No. OCF, Sector A-8, Narela, New Delhi – 110040
(Affiliated to Guru Gobind Singh Indraprastha University and Approved by Govt of NCT of Delhi & Bar Council of India)
19. UNIT-III
Object Oriented Features
The Object
• Data
– Members
– Properties
• Behavior
– Methods
– Events
Chanderprabhu Jain College of Higher Studies & School of Law
Plot No. OCF, Sector A-8, Narela, New Delhi – 110040
(Affiliated to Guru Gobind Singh Indraprastha University and Approved by Govt of NCT of Delhi & Bar Council of India)
20. Objects vs. Structures
Objects
– Members
– Properties
– Events
– Methods
– Instantiation
– Interfaces
– Inheritance
Structures
– Members
– Properties
– Methods
Chanderprabhu Jain College of Higher Studies & School of Law
Plot No. OCF, Sector A-8, Narela, New Delhi – 110040
(Affiliated to Guru Gobind Singh Indraprastha University and Approved by Govt of NCT of Delhi & Bar Council of India)
21. Objects vs. Structures
Public Structure Person
Public Appendages As Integer
Public Male As Boolean
Public EyeColor As Color
End Structure
Public Class Person
Public Appendages As Integer
Public Male As Boolean
Public EyeColor As Color
End Class
Chanderprabhu Jain College of Higher Studies & School of Law
Plot No. OCF, Sector A-8, Narela, New Delhi – 110040
(Affiliated to Guru Gobind Singh Indraprastha University and Approved by Govt of NCT of Delhi & Bar Council of India)
22. Methods
Public Class Person
Private Sub setBaby()
' Baby is born
End Sub
Private Function getBaby() As Person
' Baby is returned
Return New Person
End Function
End Class
Chanderprabhu Jain College of Higher Studies & School of Law
Plot No. OCF, Sector A-8, Narela, New Delhi – 110040
(Affiliated to Guru Gobind Singh Indraprastha University and Approved by Govt of NCT of Delhi & Bar Council of India)
23. Properties
Public Class Person
Private myAppendages As Integer
Public Property Appendages() As Integer
Get
Return myAppendages
End Get
Set(ByVal value As Integer)
myAppendages = value
End Set
End Property
End Class
Chanderprabhu Jain College of Higher Studies & School of Law
Plot No. OCF, Sector A-8, Narela, New Delhi – 110040
(Affiliated to Guru Gobind Singh Indraprastha University and Approved by Govt of NCT of Delhi & Bar Council of India)
24. Overloading
Public Class Person
Private Sub Feed(Food as Integer)
' Person is fed food
End Sub
Private Sub Feed(Crap as Double)
' Person is fed crap
End Sub
End Class
Chanderprabhu Jain College of Higher Studies & School of Law
Plot No. OCF, Sector A-8, Narela, New Delhi – 110040
(Affiliated to Guru Gobind Singh Indraprastha University and Approved by Govt of NCT of Delhi & Bar Council of India)
25. Interfaces and Inheritance
Interfaces
– Enforces Design
– Ensures Compatibility
Inheritance
– Provides Coupling
– Enables Code Reuse
Chanderprabhu Jain College of Higher Studies & School of Law
Plot No. OCF, Sector A-8, Narela, New Delhi – 110040
(Affiliated to Guru Gobind Singh Indraprastha University and Approved by Govt of NCT of Delhi & Bar Council of India)
26. UNIT-IV
ADO.NET Concepts
Flat Databases
• Text Files
• DBF, DB4, DB5
• COBOL
Relational Databases
• MS Access
• SQL Server
• Oracle
Chanderprabhu Jain College of Higher Studies & School of Law
Plot No. OCF, Sector A-8, Narela, New Delhi – 110040
(Affiliated to Guru Gobind Singh Indraprastha University and Approved by Govt of NCT of Delhi & Bar Council of India)
27. Database Concepts
Database Components
• Tables
• Relations
• Constraints
• Users
• Stored Procedures
• User Defined Types
• Catalogs
Chanderprabhu Jain College of Higher Studies & School of Law
Plot No. OCF, Sector A-8, Narela, New Delhi – 110040
(Affiliated to Guru Gobind Singh Indraprastha University and Approved by Govt of NCT of Delhi & Bar Council of India)
28. Data Access Components
• Data Adaptors
• Data Connections
• Datasets
• Data Readers
Chanderprabhu Jain College of Higher Studies & School of Law
Plot No. OCF, Sector A-8, Narela, New Delhi – 110040
(Affiliated to Guru Gobind Singh Indraprastha University and Approved by Govt of NCT of Delhi & Bar Council of India)
29. Data Connections
Data Connection Featues
• Software Channel to Database
• Propagates Authentication Criteria
• Isolates Data Flow
Data Connection Types
• OleDb
• ODBC
• SQLClient
Chanderprabhu Jain College of Higher Studies & School of Law
Plot No. OCF, Sector A-8, Narela, New Delhi – 110040
(Affiliated to Guru Gobind Singh Indraprastha University and Approved by Govt of NCT of Delhi & Bar Council of India)
30. Data Adaptors
Functions of the Data Adaptor
• Understanding the Database
• Maintaining Query Objects
• Maintaining Query Parameters
• Retrieving and Updating Data
Chanderprabhu Jain College of Higher Studies & School of Law
Plot No. OCF, Sector A-8, Narela, New Delhi – 110040
(Affiliated to Guru Gobind Singh Indraprastha University and Approved by Govt of NCT of Delhi & Bar Council of India)
31. Datasets
Dataset Components
• DataTables
– DataColumns
– DataRows
• Relations
• Constraints
• XML Interpolation
Chanderprabhu Jain College of Higher Studies & School of Law
Plot No. OCF, Sector A-8, Narela, New Delhi – 110040
(Affiliated to Guru Gobind Singh Indraprastha University and Approved by Govt of NCT of Delhi & Bar Council of India)
32. DataReaders
DataReader Features
• Operates in Connected Architecture
• Live Data Stream
• Low memory overhead
Chanderprabhu Jain College of Higher Studies & School of Law
Plot No. OCF, Sector A-8, Narela, New Delhi – 110040
(Affiliated to Guru Gobind Singh Indraprastha University and Approved by Govt of NCT of Delhi & Bar Council of India)