SlideShare a Scribd company logo
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

Java interfaces
Java interfacesJava interfaces
Java interfaces
Raja Sekhar
 
Interface in java
Interface in javaInterface in java
VB.net
VB.netVB.net
VB.net
PallaviKadam
 
Interface java
Interface java Interface java
Interface java
atiafyrose
 
Introduction to vb.net
Introduction to vb.netIntroduction to vb.net
Introduction to vb.net
Jaya Kumari
 
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
Yauheni Akhotnikau
 
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
Dr.Neeraj Kumar Pandey
 
Dot net introduction
Dot net introductionDot net introduction
Dot net introduction
Dr.Neeraj Kumar Pandey
 
Lecture 18
Lecture 18Lecture 18
Lecture 18
talha ijaz
 
Java interfaces
Java   interfacesJava   interfaces
Java interfaces
Elizabeth alexander
 
Basics of Java
Basics of JavaBasics of Java
Basics of Java
Prarabdh Garg
 
Java interface
Java interfaceJava interface
Java interface
Md. Tanvir Hossain
 
Perfomatix - iOS swift coding standards
Perfomatix - iOS swift coding standardsPerfomatix - iOS swift coding standards
Perfomatix - iOS swift coding standards
Perfomatix Solutions
 
Understanding Annotations in Java
Understanding Annotations in JavaUnderstanding Annotations in Java
Understanding Annotations in Java
Ecommerce Solution Provider SysIQ
 
Java programming(unit 1)
Java programming(unit 1)Java programming(unit 1)
Java programming(unit 1)
SURBHI SAROHA
 
Type Annotations in Java 8
Type Annotations in Java 8 Type Annotations in Java 8
Type Annotations in Java 8
FinLingua, Inc.
 
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
dheeraj_cse
 
Chapter 9 Interface
Chapter 9 InterfaceChapter 9 Interface
Chapter 9 Interface
OUM SAOKOSAL
 
OOP java
OOP javaOOP java
OOP java
xball977
 
Bb Tequila Coding Style (Draft)
Bb Tequila Coding Style (Draft)Bb Tequila Coding Style (Draft)
Bb Tequila Coding Style (Draft)
Siwawong Wuttipongprasert
 

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.0
lesly53
 
visual basic for the beginner
visual basic for the beginnervisual basic for the beginner
visual basic for the beginner
Salim 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 Design
francopw
 
Microsoft visual basic 6
Microsoft visual basic 6Microsoft visual basic 6
Microsoft visual basic 6
Penang, Malaysia
 
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
 
Visual Basic Controls ppt
Visual Basic Controls pptVisual Basic Controls ppt
Visual Basic Controls ppt
Ranjuma Shubhangi
 
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
Salim M
 
Visual basic ppt for tutorials computer
Visual basic ppt for tutorials computerVisual basic ppt for tutorials computer
Visual basic ppt for tutorials computer
simran153
 

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_Blocks
Rahul Shukla
 
Dotnet basics
Dotnet basicsDotnet basics
Dotnet basics
Mir Majid
 
.Net assembly
.Net assembly.Net assembly
.Net assembly
mahesh2386
 
Eclipse Training - Introduction
Eclipse Training - IntroductionEclipse Training - Introduction
Eclipse Training - Introduction
Luca D'Onofrio
 
Osgi Webinar
Osgi WebinarOsgi Webinar
Osgi Webinar
WSO2
 
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
 
C# Private assembly
C# Private assemblyC# Private assembly
C# Private assembly
Prem Kumar Badri
 
Android coding guide lines
Android coding guide linesAndroid coding guide lines
Android coding guide lines
lokeshG38
 
.Net framework
.Net framework.Net framework
.Net framework
Raghu nath
 
Net Interview questions
Net Interview questionsNet Interview questions
Net Interview questions
Jitendra Gangwar
 
OSGi Training for Carbon Developers
OSGi Training for Carbon DevelopersOSGi Training for Carbon Developers
OSGi Training for Carbon Developers
Aruna 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 Interviews
Rahul Jain
 
OSGi Enablement For Apache Tuscany
OSGi Enablement For Apache TuscanyOSGi Enablement For Apache Tuscany
OSGi Enablement For Apache Tuscany
Raymond 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 Language
Gianluca 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 i
Rakesh 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 i
Rakesh Joshi
 
Eclipse Training - RCP & Industrialization
Eclipse Training - RCP & IndustrializationEclipse Training - RCP & Industrialization
Eclipse Training - RCP & Industrialization
Luca D'Onofrio
 
Bt0082 visual basic
Bt0082 visual basicBt0082 visual basic
Bt0082 visual basic
Techglyphs
 
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 learning
Sharbani Bhattacharya
 
Javascript
JavascriptJavascript
PHP programmimg
PHP programmimgPHP programmimg
PHP programmimg
Sharbani Bhattacharya
 
Sharbani Bhattacharya SE design & Implementation
Sharbani Bhattacharya SE design & ImplementationSharbani Bhattacharya SE design & Implementation
Sharbani Bhattacharya SE design & Implementation
Sharbani Bhattacharya
 
Microsoft Front Page
Microsoft Front PageMicrosoft Front Page
Microsoft Front Page
Sharbani Bhattacharya
 
Visual Basic User Interface-III
Visual Basic User Interface-IIIVisual Basic User Interface-III
Visual Basic User Interface-III
Sharbani Bhattacharya
 
Visual Basic User Interface -IV
Visual Basic User Interface -IVVisual Basic User Interface -IV
Visual Basic User Interface -IV
Sharbani Bhattacharya
 
Requirement Analysis & Specification sharbani bhattacharya
Requirement Analysis & Specification sharbani bhattacharyaRequirement Analysis & Specification sharbani bhattacharya
Requirement Analysis & Specification sharbani bhattacharya
Sharbani Bhattacharya
 
Estimation sharbani bhattacharya
Estimation sharbani bhattacharyaEstimation sharbani bhattacharya
Estimation sharbani bhattacharya
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
 
Sharbani Bhattacharya VB User Interface1
Sharbani Bhattacharya VB User Interface1Sharbani Bhattacharya VB User Interface1
Sharbani Bhattacharya VB User Interface1
Sharbani Bhattacharya
 
Sharbani bhattacharya VB Structures
Sharbani bhattacharya VB StructuresSharbani bhattacharya VB Structures
Sharbani bhattacharya VB Structures
Sharbani Bhattacharya
 
Software Metrics & Measurement-Sharbani Bhattacharya
Software Metrics & Measurement-Sharbani BhattacharyaSoftware Metrics & Measurement-Sharbani Bhattacharya
Software Metrics & Measurement-Sharbani Bhattacharya
Sharbani Bhattacharya
 
Slcm sharbani bhattacharya
Slcm sharbani bhattacharyaSlcm sharbani bhattacharya
Slcm sharbani bhattacharya
Sharbani Bhattacharya
 
SE Introduction sharbani bhattacharya
SE Introduction sharbani bhattacharyaSE Introduction sharbani bhattacharya
SE Introduction sharbani bhattacharya
Sharbani Bhattacharya
 
Sharbani bhattacharya Macromedia-flash
Sharbani bhattacharya Macromedia-flashSharbani bhattacharya Macromedia-flash
Sharbani bhattacharya Macromedia-flash
Sharbani Bhattacharya
 
Sharbani bhattacharya Visual Basic
Sharbani bhattacharya Visual BasicSharbani bhattacharya Visual Basic
Sharbani bhattacharya Visual Basic
Sharbani Bhattacharya
 
Sharbani bhattacharya gyanodya 2014
Sharbani bhattacharya gyanodya 2014Sharbani bhattacharya gyanodya 2014
Sharbani bhattacharya gyanodya 2014
Sharbani Bhattacharya
 
Sharbani bhattacharya sacta 2014
Sharbani bhattacharya sacta 2014Sharbani bhattacharya sacta 2014
Sharbani bhattacharya sacta 2014
Sharbani Bhattacharya
 
Sharbani bhattacharya flash
Sharbani bhattacharya flashSharbani bhattacharya flash
Sharbani bhattacharya flash
Sharbani 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

spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
Anant Corporation
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
IJECEIAES
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
KrishnaveniKrishnara1
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
insn4465
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
JamalHussainArman
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
Rahul
 
The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
sachin chaurasia
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
zubairahmad848137
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
bijceesjournal
 
Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
Mahmoud Morsy
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
ecqow
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
Dr Ramhari Poudyal
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
co23btech11018
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
MDSABBIROJJAMANPAYEL
 
gray level transformation unit 3(image processing))
gray level transformation unit 3(image processing))gray level transformation unit 3(image processing))
gray level transformation unit 3(image processing))
shivani5543
 

Recently uploaded (20)

spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
 
The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
 
Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
 
gray level transformation unit 3(image processing))
gray level transformation unit 3(image processing))gray level transformation unit 3(image processing))
gray level transformation unit 3(image processing))
 

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