SlideShare a Scribd company logo
1 of 62
Sharbani Bhattacharya
Visual Basic User
Interface-VI
Govt. Polytechnic(W)
Faridabad
30th September 2016
10/1/2016 2
10/1/2016 3
10/1/2016 4
10/1/2016 5
10/1/2016 6
Replace
O Dim sText, vbClf, vbCr, vbLf As String
O Dim strArray(20) As String
O vbClf = "Pillow"
O vbCr = "Trimow"
O vbLf = ""
O sText = TextBox1.Text
O 'replace different new line characters with one version
O sText = sText.Replace(vbCrLf, vbCr)
O 'remove last carriage return if it exists
O If sText.EndsWith(vbCr) Then
O sText = sText.Substring(0, sText.Length - 1)
O TextBox2.Text = sText
O End If
10/1/2016 7
Multiline TextBox
10/1/2016 8
10/1/2016 9
10/1/2016 10
10/1/2016 11
10/1/2016 12
10/1/2016 13
10/1/2016 14
10/1/2016 15
10/1/2016 16
10/1/2016 17
10/1/2016 18
10/1/2016 19
10/1/2016 20
10/1/2016 21
10/1/2016 22
Controls Collection
O In Visual Studio terminology, the entire set
of objects on a form is called the Controls
collection.
O The Controls collection is created
automatically when we open a new form,
and when we add objects to the form, they
become part of that collection.
10/1/2016 23
Collection
Each collection in a program has its own
name so that you can reference it as a
distinct unit in the program code.
10/1/2016 24
Collection
O The Controls name to reference the
collection of objects on a form.
O This grouping method is similar to the way
arrays group a list of elements together
under one name, and like Visual Basic
arrays, the Controls collection is zero-
based.
10/1/2016 25
Collection
We can reference the objects in a collection,
or the individual members of the collection,
by specifying the index position of the object
in the group.
10/1/2016 26
Collection Objects
Visual Basic stores collection objects in the
reverse order of that in which they were
created, so you can use an object’s “birth
order” to reference the object individually, or
you can use a loop to step through several
objects.
10/1/2016 27
10/1/2016 28
10/1/2016 29
10/1/2016 30
10/1/2016 31
Assembly
O When an application is compiled, the
output of the compilation produces what is
known as an Assembly.
10/1/2016 32
Types of Executable
Two types of Executable
O Dynamic link library file(*.dll)
O Executable(*.exe)
10/1/2016 33
Assembly
The assembly is the unit of deployment in
Microsoft .NET and it can be thought of as a
collection of types and resources that form a
logical unit of functionality.
10/1/2016 34
Private Assemblies
A private assembly is an assembly that is
deployed with an application and is
available only for that application.
That is, other applications do not share the
private assembly. Private assemblies are
installed in a folder of the application's
directory structure.
10/1/2016 35
Characteristics of Assembly
O Self Describing
O Manifest
10/1/2016 36
Self Describing
An assembly is a self-describing entity. It
contains all information about the types
(classes) contained in the assembly, all
external references needed for executing
the assembly and so on.
10/1/2016 37
Manifest
The manifest contains assembly’s identity
and version information, a file table
containing all files that make up the
assembly and the assembly reference list
for all external dependencies.
Thus, assemblies do not need to depend on
the registry values for compilation or
execution.
10/1/2016 38
Manifest Data
An assembly contains manifest data and
one or more modules. Manifest data
contains information about the assembly
and other list of assemblies that it depends
on.
It also contains all the publicly exposed
types and resources. An assembly contains
various modules. Each module contains
metadata and IL.
10/1/2016 39
Assembly Type
Assemblies can be single file assemblies or
multi file assemblies.
In multi file assemblies one of the files must
contain the assembly’s manifest data.
Multi file assemblies can have only one
entry point even though the assembly can
contain multiple code modules.
10/1/2016 40
Multi File Assembly
A multi file assembly is created primarily for
combining modules written in different
programming languages.
Once the assembly is created, the file that
contains the assembly manifest (and hence
the assembly) can be signed, or one can
give the file (and the assembly) a strong
name and put it in the global assembly
cache.
10/1/2016 41
Use of Multi File Assembly
Main uses of multi file assembly are for
combining modules written in different
programming languages.
They enable optimization of downloading an
application by putting seldom-used types in
a module that is downloaded only when
needed.
10/1/2016 42
Private Assemblies
A private assembly is an assembly that is
deployed with an application and is
available only for that application.
That is, other applications do not share the
private assembly.
Private assemblies are installed in a folder
of the application's directory structure.
Typically, this is the folder containing the
application's executable file.
10/1/2016 43
Shared Assemblies
A shared assembly is an assembly available for
use by multiple applications on the computer.
To make the assembly global, it has to be put
into the Global Assembly Cache.
Each computer where the common language
runtime is installed has a machine-wide code
cache called the global assembly cache.
The global assembly cache stores assemblies
specifically for sharing by several applications
on the computer.
10/1/2016 44
Global Assembly Cache
This is achieved with the help of a global
assembly cache tool (gacutil.exe) provided
by the .NET Framework.
One can also drag & drop the assemblies
into the Global Assembly Cache directory.
10/1/2016 45
Strong Name
O A strong name contains the assembly's
identity i.e. it’s text name, version number,
and culture information strengthened by a
public key and a digital signature
generated over the assembly.
O This is because the CLR verifies the
strong name signature when the assembly
is placed in the Global Assembly Cache.
10/1/2016 46
Application Domains And
Assemblies
O Before an assembly can be executed, it must be
loaded into an application domain.
O By default, the CLR loads an assembly into an
application domain containing the code that
references it.
O An assembly is not shared between domains when
it is granted a different set of permissions in each
domain.
O This can occur if the runtime host sets an
application domain-level security policy.
O Assemblies should not be loaded as domain
neutral.
O If the set of permissions granted to the assembly is
to be different in each domain.
10/1/2016 47
The .NET Class Framework
10/1/2016 48
10/1/2016 49
10/1/2016 50
10/1/2016 51
10/1/2016 52
10/1/2016 53
10/1/2016 54
10/1/2016 55
10/1/2016 56
10/1/2016 57
10/1/2016 58
10/1/2016 59
10/1/2016 60
References
O dotNET Tutorial for Beginners, India
Community Initiative
O Microsoft Visual Studio 2010 by Michael
Halvorson, Microsoft
O Microsoft Visual Basic 6.0 by Francesco
Balena ,Microsoft
10/1/2016 61
THANK
YOU 10/1/2016 62

More Related Content

What's hot (20)

Java interfaces
Java interfacesJava interfaces
Java interfaces
 
Interface in java
Interface in javaInterface in java
Interface in java
 
VB.net
VB.netVB.net
VB.net
 
Interface java
Interface java Interface java
Interface java
 
Introduction to vb.net
Introduction to vb.netIntroduction to vb.net
Introduction to vb.net
 
What's new in SObjectizer 5.5.9
What's new in SObjectizer 5.5.9What's new in SObjectizer 5.5.9
What's new in SObjectizer 5.5.9
 
C# lecture 1: Introduction to Dot Net Framework
C# lecture 1: Introduction to Dot Net FrameworkC# lecture 1: Introduction to Dot Net Framework
C# lecture 1: Introduction to Dot Net Framework
 
Dot net introduction
Dot net introductionDot net introduction
Dot net introduction
 
Lecture 18
Lecture 18Lecture 18
Lecture 18
 
Java interfaces
Java   interfacesJava   interfaces
Java interfaces
 
Basics of Java
Basics of JavaBasics of Java
Basics of Java
 
Java interface
Java interfaceJava interface
Java interface
 
Perfomatix - iOS swift coding standards
Perfomatix - iOS swift coding standardsPerfomatix - iOS swift coding standards
Perfomatix - iOS swift coding standards
 
Understanding Annotations in Java
Understanding Annotations in JavaUnderstanding Annotations in Java
Understanding Annotations in Java
 
Java programming(unit 1)
Java programming(unit 1)Java programming(unit 1)
Java programming(unit 1)
 
Type Annotations in Java 8
Type Annotations in Java 8 Type Annotations in Java 8
Type Annotations in Java 8
 
Interface in java By Dheeraj Kumar Singh
Interface in java By Dheeraj Kumar SinghInterface in java By Dheeraj Kumar Singh
Interface in java By Dheeraj Kumar Singh
 
Chapter 9 Interface
Chapter 9 InterfaceChapter 9 Interface
Chapter 9 Interface
 
OOP java
OOP javaOOP java
OOP java
 
Bb Tequila Coding Style (Draft)
Bb Tequila Coding Style (Draft)Bb Tequila Coding Style (Draft)
Bb Tequila Coding Style (Draft)
 

Viewers also liked

visual basic 6.0
visual basic 6.0visual basic 6.0
visual basic 6.0lesly53
 
visual basic for the beginner
visual basic for the beginnervisual basic for the beginner
visual basic for the beginnerSalim M
 
Chapter 2 — Program and Graphical User Interface Design
Chapter 2 — Program and Graphical User Interface DesignChapter 2 — Program and Graphical User Interface Design
Chapter 2 — Program and Graphical User Interface Designfrancopw
 
Chapter 1 — Introduction to Visual Basic 2010 Programming
Chapter 1 — Introduction to Visual Basic 2010 Programming Chapter 1 — Introduction to Visual Basic 2010 Programming
Chapter 1 — Introduction to Visual Basic 2010 Programming francopw
 
Basic controls of Visual Basic 6.0
Basic controls of Visual Basic 6.0Basic controls of Visual Basic 6.0
Basic controls of Visual Basic 6.0Salim M
 
Visual basic ppt for tutorials computer
Visual basic ppt for tutorials computerVisual basic ppt for tutorials computer
Visual basic ppt for tutorials computersimran153
 

Viewers also liked (8)

visual basic 6.0
visual basic 6.0visual basic 6.0
visual basic 6.0
 
visual basic for the beginner
visual basic for the beginnervisual basic for the beginner
visual basic for the beginner
 
Chapter 2 — Program and Graphical User Interface Design
Chapter 2 — Program and Graphical User Interface DesignChapter 2 — Program and Graphical User Interface Design
Chapter 2 — Program and Graphical User Interface Design
 
Microsoft visual basic 6
Microsoft visual basic 6Microsoft visual basic 6
Microsoft visual basic 6
 
Chapter 1 — Introduction to Visual Basic 2010 Programming
Chapter 1 — Introduction to Visual Basic 2010 Programming Chapter 1 — Introduction to Visual Basic 2010 Programming
Chapter 1 — Introduction to Visual Basic 2010 Programming
 
Visual Basic Controls ppt
Visual Basic Controls pptVisual Basic Controls ppt
Visual Basic Controls ppt
 
Basic controls of Visual Basic 6.0
Basic controls of Visual Basic 6.0Basic controls of Visual Basic 6.0
Basic controls of Visual Basic 6.0
 
Visual basic ppt for tutorials computer
Visual basic ppt for tutorials computerVisual basic ppt for tutorials computer
Visual basic ppt for tutorials computer
 

Similar to Visual Basic User Interface-VI

Eclipse_Building_Blocks
Eclipse_Building_BlocksEclipse_Building_Blocks
Eclipse_Building_BlocksRahul Shukla
 
Eclipse Training - Introduction
Eclipse Training - IntroductionEclipse Training - Introduction
Eclipse Training - IntroductionLuca D'Onofrio
 
Osgi Webinar
Osgi WebinarOsgi Webinar
Osgi WebinarWSO2
 
THE CLR AND THE .NET FRAMEWORK, C#
THE CLR AND THE .NET FRAMEWORK, C#THE CLR AND THE .NET FRAMEWORK, C#
THE CLR AND THE .NET FRAMEWORK, C#MANOJ BURI
 
Android coding guide lines
Android coding guide linesAndroid coding guide lines
Android coding guide lineslokeshG38
 
.Net framework
.Net framework.Net framework
.Net frameworkRaghu nath
 
OSGi Training for Carbon Developers
OSGi Training for Carbon DevelopersOSGi Training for Carbon Developers
OSGi Training for Carbon DevelopersAruna Karunarathna
 
important DotNet Questions For Practicals And Interviews
important DotNet Questions For Practicals And Interviewsimportant DotNet Questions For Practicals And Interviews
important DotNet Questions For Practicals And InterviewsRahul Jain
 
OSGi Enablement For Apache Tuscany
OSGi Enablement For Apache TuscanyOSGi Enablement For Apache Tuscany
OSGi Enablement For Apache TuscanyRaymond Feng
 
Introduction to .net
Introduction to .net Introduction to .net
Introduction to .net Jaya Kumari
 
Scala: a Cross-Platform Language
Scala: a Cross-Platform LanguageScala: a Cross-Platform Language
Scala: a Cross-Platform LanguageGianluca Aguzzi
 
Dot net-interview-questions-and-answers part i
Dot net-interview-questions-and-answers part iDot net-interview-questions-and-answers part i
Dot net-interview-questions-and-answers part iRakesh Joshi
 
Dot net-interview-questions-and-answers part i
Dot net-interview-questions-and-answers part iDot net-interview-questions-and-answers part i
Dot net-interview-questions-and-answers part iRakesh Joshi
 
Eclipse Training - RCP & Industrialization
Eclipse Training - RCP & IndustrializationEclipse Training - RCP & Industrialization
Eclipse Training - RCP & IndustrializationLuca D'Onofrio
 
Bt0082 visual basic
Bt0082 visual basicBt0082 visual basic
Bt0082 visual basicTechglyphs
 
Office OpenXML: a technical approach for OOo.
Office OpenXML: a technical approach for OOo.Office OpenXML: a technical approach for OOo.
Office OpenXML: a technical approach for OOo.Alexandro Colorado
 

Similar to Visual Basic User Interface-VI (20)

Eclipse_Building_Blocks
Eclipse_Building_BlocksEclipse_Building_Blocks
Eclipse_Building_Blocks
 
Dotnet basics
Dotnet basicsDotnet basics
Dotnet basics
 
.Net assembly
.Net assembly.Net assembly
.Net assembly
 
Eclipse Training - Introduction
Eclipse Training - IntroductionEclipse Training - Introduction
Eclipse Training - Introduction
 
Osgi Webinar
Osgi WebinarOsgi Webinar
Osgi Webinar
 
THE CLR AND THE .NET FRAMEWORK, C#
THE CLR AND THE .NET FRAMEWORK, C#THE CLR AND THE .NET FRAMEWORK, C#
THE CLR AND THE .NET FRAMEWORK, C#
 
C# Private assembly
C# Private assemblyC# Private assembly
C# Private assembly
 
Android coding guide lines
Android coding guide linesAndroid coding guide lines
Android coding guide lines
 
.Net framework
.Net framework.Net framework
.Net framework
 
Net Interview questions
Net Interview questionsNet Interview questions
Net Interview questions
 
OSGi Training for Carbon Developers
OSGi Training for Carbon DevelopersOSGi Training for Carbon Developers
OSGi Training for Carbon Developers
 
important DotNet Questions For Practicals And Interviews
important DotNet Questions For Practicals And Interviewsimportant DotNet Questions For Practicals And Interviews
important DotNet Questions For Practicals And Interviews
 
OSGi Enablement For Apache Tuscany
OSGi Enablement For Apache TuscanyOSGi Enablement For Apache Tuscany
OSGi Enablement For Apache Tuscany
 
Introduction to .net
Introduction to .net Introduction to .net
Introduction to .net
 
Scala: a Cross-Platform Language
Scala: a Cross-Platform LanguageScala: a Cross-Platform Language
Scala: a Cross-Platform Language
 
Dot net-interview-questions-and-answers part i
Dot net-interview-questions-and-answers part iDot net-interview-questions-and-answers part i
Dot net-interview-questions-and-answers part i
 
Dot net-interview-questions-and-answers part i
Dot net-interview-questions-and-answers part iDot net-interview-questions-and-answers part i
Dot net-interview-questions-and-answers part i
 
Eclipse Training - RCP & Industrialization
Eclipse Training - RCP & IndustrializationEclipse Training - RCP & Industrialization
Eclipse Training - RCP & Industrialization
 
Bt0082 visual basic
Bt0082 visual basicBt0082 visual basic
Bt0082 visual basic
 
Office OpenXML: a technical approach for OOo.
Office OpenXML: a technical approach for OOo.Office OpenXML: a technical approach for OOo.
Office OpenXML: a technical approach for OOo.
 

More from Sharbani Bhattacharya

Biometric authentication green apple computer learning
Biometric authentication green apple computer learningBiometric authentication green apple computer learning
Biometric authentication green apple computer learningSharbani Bhattacharya
 
Sharbani Bhattacharya SE design & Implementation
Sharbani Bhattacharya SE design & ImplementationSharbani Bhattacharya SE design & Implementation
Sharbani Bhattacharya SE design & ImplementationSharbani Bhattacharya
 
Requirement Analysis & Specification sharbani bhattacharya
Requirement Analysis & Specification sharbani bhattacharyaRequirement Analysis & Specification sharbani bhattacharya
Requirement Analysis & Specification sharbani bhattacharyaSharbani Bhattacharya
 
Sharbani bhattacharya Visual Basic User Interface-ii
Sharbani bhattacharya  Visual Basic User Interface-iiSharbani bhattacharya  Visual Basic User Interface-ii
Sharbani bhattacharya Visual Basic User Interface-iiSharbani Bhattacharya
 
Sharbani Bhattacharya VB User Interface1
Sharbani Bhattacharya VB User Interface1Sharbani Bhattacharya VB User Interface1
Sharbani Bhattacharya VB User Interface1Sharbani Bhattacharya
 
Software Metrics & Measurement-Sharbani Bhattacharya
Software Metrics & Measurement-Sharbani BhattacharyaSoftware Metrics & Measurement-Sharbani Bhattacharya
Software Metrics & Measurement-Sharbani BhattacharyaSharbani Bhattacharya
 
SE Introduction sharbani bhattacharya
SE Introduction sharbani bhattacharyaSE Introduction sharbani bhattacharya
SE Introduction sharbani bhattacharyaSharbani Bhattacharya
 
Sharbani bhattacharya Macromedia-flash
Sharbani bhattacharya Macromedia-flashSharbani bhattacharya Macromedia-flash
Sharbani bhattacharya Macromedia-flashSharbani Bhattacharya
 

More from Sharbani Bhattacharya (20)

Biometric authentication green apple computer learning
Biometric authentication green apple computer learningBiometric authentication green apple computer learning
Biometric authentication green apple computer learning
 
Javascript
JavascriptJavascript
Javascript
 
PHP programmimg
PHP programmimgPHP programmimg
PHP programmimg
 
Sharbani Bhattacharya SE design & Implementation
Sharbani Bhattacharya SE design & ImplementationSharbani Bhattacharya SE design & Implementation
Sharbani Bhattacharya SE design & Implementation
 
Microsoft Front Page
Microsoft Front PageMicrosoft Front Page
Microsoft Front Page
 
Visual Basic User Interface-III
Visual Basic User Interface-IIIVisual Basic User Interface-III
Visual Basic User Interface-III
 
Visual Basic User Interface -IV
Visual Basic User Interface -IVVisual Basic User Interface -IV
Visual Basic User Interface -IV
 
Requirement Analysis & Specification sharbani bhattacharya
Requirement Analysis & Specification sharbani bhattacharyaRequirement Analysis & Specification sharbani bhattacharya
Requirement Analysis & Specification sharbani bhattacharya
 
Estimation sharbani bhattacharya
Estimation sharbani bhattacharyaEstimation sharbani bhattacharya
Estimation sharbani bhattacharya
 
Sharbani bhattacharya Visual Basic User Interface-ii
Sharbani bhattacharya  Visual Basic User Interface-iiSharbani bhattacharya  Visual Basic User Interface-ii
Sharbani bhattacharya Visual Basic User Interface-ii
 
Sharbani Bhattacharya VB User Interface1
Sharbani Bhattacharya VB User Interface1Sharbani Bhattacharya VB User Interface1
Sharbani Bhattacharya VB User Interface1
 
Sharbani bhattacharya VB Structures
Sharbani bhattacharya VB StructuresSharbani bhattacharya VB Structures
Sharbani bhattacharya VB Structures
 
Software Metrics & Measurement-Sharbani Bhattacharya
Software Metrics & Measurement-Sharbani BhattacharyaSoftware Metrics & Measurement-Sharbani Bhattacharya
Software Metrics & Measurement-Sharbani Bhattacharya
 
Slcm sharbani bhattacharya
Slcm sharbani bhattacharyaSlcm sharbani bhattacharya
Slcm sharbani bhattacharya
 
SE Introduction sharbani bhattacharya
SE Introduction sharbani bhattacharyaSE Introduction sharbani bhattacharya
SE Introduction sharbani bhattacharya
 
Sharbani bhattacharya Macromedia-flash
Sharbani bhattacharya Macromedia-flashSharbani bhattacharya Macromedia-flash
Sharbani bhattacharya Macromedia-flash
 
Sharbani bhattacharya Visual Basic
Sharbani bhattacharya Visual BasicSharbani bhattacharya Visual Basic
Sharbani bhattacharya Visual Basic
 
Sharbani bhattacharya gyanodya 2014
Sharbani bhattacharya gyanodya 2014Sharbani bhattacharya gyanodya 2014
Sharbani bhattacharya gyanodya 2014
 
Sharbani bhattacharya sacta 2014
Sharbani bhattacharya sacta 2014Sharbani bhattacharya sacta 2014
Sharbani bhattacharya sacta 2014
 
Sharbani bhattacharya flash
Sharbani bhattacharya flashSharbani bhattacharya flash
Sharbani bhattacharya flash
 

Recently uploaded

Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxvipinkmenon1
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2RajaP95
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and usesDevarapalliHaritha
 

Recently uploaded (20)

Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptx
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and uses
 

Visual Basic User Interface-VI

  • 1. Sharbani Bhattacharya Visual Basic User Interface-VI Govt. Polytechnic(W) Faridabad 30th September 2016
  • 7. Replace O Dim sText, vbClf, vbCr, vbLf As String O Dim strArray(20) As String O vbClf = "Pillow" O vbCr = "Trimow" O vbLf = "" O sText = TextBox1.Text O 'replace different new line characters with one version O sText = sText.Replace(vbCrLf, vbCr) O 'remove last carriage return if it exists O If sText.EndsWith(vbCr) Then O sText = sText.Substring(0, sText.Length - 1) O TextBox2.Text = sText O End If 10/1/2016 7
  • 23. Controls Collection O In Visual Studio terminology, the entire set of objects on a form is called the Controls collection. O The Controls collection is created automatically when we open a new form, and when we add objects to the form, they become part of that collection. 10/1/2016 23
  • 24. Collection Each collection in a program has its own name so that you can reference it as a distinct unit in the program code. 10/1/2016 24
  • 25. Collection O The Controls name to reference the collection of objects on a form. O This grouping method is similar to the way arrays group a list of elements together under one name, and like Visual Basic arrays, the Controls collection is zero- based. 10/1/2016 25
  • 26. Collection We can reference the objects in a collection, or the individual members of the collection, by specifying the index position of the object in the group. 10/1/2016 26
  • 27. Collection Objects Visual Basic stores collection objects in the reverse order of that in which they were created, so you can use an object’s “birth order” to reference the object individually, or you can use a loop to step through several objects. 10/1/2016 27
  • 32. Assembly O When an application is compiled, the output of the compilation produces what is known as an Assembly. 10/1/2016 32
  • 33. Types of Executable Two types of Executable O Dynamic link library file(*.dll) O Executable(*.exe) 10/1/2016 33
  • 34. Assembly The assembly is the unit of deployment in Microsoft .NET and it can be thought of as a collection of types and resources that form a logical unit of functionality. 10/1/2016 34
  • 35. Private Assemblies A private assembly is an assembly that is deployed with an application and is available only for that application. That is, other applications do not share the private assembly. Private assemblies are installed in a folder of the application's directory structure. 10/1/2016 35
  • 36. Characteristics of Assembly O Self Describing O Manifest 10/1/2016 36
  • 37. Self Describing An assembly is a self-describing entity. It contains all information about the types (classes) contained in the assembly, all external references needed for executing the assembly and so on. 10/1/2016 37
  • 38. Manifest The manifest contains assembly’s identity and version information, a file table containing all files that make up the assembly and the assembly reference list for all external dependencies. Thus, assemblies do not need to depend on the registry values for compilation or execution. 10/1/2016 38
  • 39. Manifest Data An assembly contains manifest data and one or more modules. Manifest data contains information about the assembly and other list of assemblies that it depends on. It also contains all the publicly exposed types and resources. An assembly contains various modules. Each module contains metadata and IL. 10/1/2016 39
  • 40. Assembly Type Assemblies can be single file assemblies or multi file assemblies. In multi file assemblies one of the files must contain the assembly’s manifest data. Multi file assemblies can have only one entry point even though the assembly can contain multiple code modules. 10/1/2016 40
  • 41. Multi File Assembly A multi file assembly is created primarily for combining modules written in different programming languages. Once the assembly is created, the file that contains the assembly manifest (and hence the assembly) can be signed, or one can give the file (and the assembly) a strong name and put it in the global assembly cache. 10/1/2016 41
  • 42. Use of Multi File Assembly Main uses of multi file assembly are for combining modules written in different programming languages. They enable optimization of downloading an application by putting seldom-used types in a module that is downloaded only when needed. 10/1/2016 42
  • 43. Private Assemblies A private assembly is an assembly that is deployed with an application and is available only for that application. That is, other applications do not share the private assembly. Private assemblies are installed in a folder of the application's directory structure. Typically, this is the folder containing the application's executable file. 10/1/2016 43
  • 44. Shared Assemblies A shared assembly is an assembly available for use by multiple applications on the computer. To make the assembly global, it has to be put into the Global Assembly Cache. Each computer where the common language runtime is installed has a machine-wide code cache called the global assembly cache. The global assembly cache stores assemblies specifically for sharing by several applications on the computer. 10/1/2016 44
  • 45. Global Assembly Cache This is achieved with the help of a global assembly cache tool (gacutil.exe) provided by the .NET Framework. One can also drag & drop the assemblies into the Global Assembly Cache directory. 10/1/2016 45
  • 46. Strong Name O A strong name contains the assembly's identity i.e. it’s text name, version number, and culture information strengthened by a public key and a digital signature generated over the assembly. O This is because the CLR verifies the strong name signature when the assembly is placed in the Global Assembly Cache. 10/1/2016 46
  • 47. Application Domains And Assemblies O Before an assembly can be executed, it must be loaded into an application domain. O By default, the CLR loads an assembly into an application domain containing the code that references it. O An assembly is not shared between domains when it is granted a different set of permissions in each domain. O This can occur if the runtime host sets an application domain-level security policy. O Assemblies should not be loaded as domain neutral. O If the set of permissions granted to the assembly is to be different in each domain. 10/1/2016 47
  • 48. The .NET Class Framework 10/1/2016 48
  • 61. References O dotNET Tutorial for Beginners, India Community Initiative O Microsoft Visual Studio 2010 by Michael Halvorson, Microsoft O Microsoft Visual Basic 6.0 by Francesco Balena ,Microsoft 10/1/2016 61