ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories >> Software >> Microsoft-Related >> VB.NET
 
 


 

Back to Questions Page
 
Question
What is MSIL
Rank Answer Posted By  
 Question Submitted By :: Guest
I also faced this Question!!   © ALL Interview .com
Answer
When compiling to managed code, the compiler translates 
your source code into Microsoft intermediate language 
(MSIL), which is a CPU-independent set of instructions that 
can be efficiently converted to native code. MSIL includes 
instructions for loading, storing, initializing, and 
calling methods on objects, as well as instructions for 
arithmetic and logical operations, control flow, direct 
memory access, exception handling, and other operations. 
Before code can be run, MSIL must be converted to CPU-
specific code, usually by a just-in-time (JIT) compiler. 
Because the common language runtime supplies one or more 
JIT compilers for each computer architecture it supports, 
the same set of MSIL can be JIT-compiled and run on any 
supported architecture. When a compiler produces MSIL, it 
also produces metadata. Metadata describes the types in 
your code, including the definition of each type, the 
signatures of each type’s members, the members that your 
code references, and other data that the runtime uses at 
execution time. The MSIL and metadata are contained in a 
portable executable (PE) file that is based on and extends 
the published Microsoft PE and common object file format 
(COFF) used historically for executable content. This file 
format, which accommodates MSIL or native code as well as 
metadata, enables the operating system to recognize common 
language runtime images. The presence of metadata in the 
file along with the MSIL enables your code to describe 
itself, which means that there is no need for type 
libraries or Interface Definition Language (IDL). The 
runtime locates and extracts the metadata from the file as 
needed during execution
 
0
Mukesh Pathak
 
 
Answer
It is cpu independent language.It is only understand by CLR.
due this language(MSIL) vb.net application can run on any 
platform on which .net framework is present.
 
0
Avnish
 
 
Answer
It is a Microsoft Intermediatary Language which helps to 
convert programming language into machine's native language 
at the time of compilation.
 
0
Santosh Prasad
 
 
 
Answer
MSIL IS Microsoft Intermediate language.It manage code when
compiling. the compiler translate your source code into
microsoft intermediate language.It must be converted cpu
specific code, usually by a jit(just in time)
 
0
Zubair Khan
 
 
Question
what r the properties should be given to set method?
Rank Answer Posted By  
 Question Submitted By :: Kiran Kumar
This Interview Question Asked @   PSI-Data-Systems
I also faced this Question!!   © ALL Interview .com
Answer
Class Class1
   ' Define a local variable to store the property value.
Ans: Only One Property.   
example: 
Private PropertyValue As String
   ' Define the property.
 Public Property Prop1() As String
      Get
         ' The Get property procedure is called when the 
         ' value
         ' of a property is retrieved. 
         Return PropertyValue
      End Get
      Set(ByVal Value As String)
         ' The Set property procedure is called when the 
         ' value 
         ' of a property is modified. 
         ' The value to be assigned is passed in the 
         ' argument to Set. 
         PropertyValue = Value
      End Set
   End Property
End Class
 
5
Venkatesh
 
 
Answer
The procedures that are described in the get method and 
that methods are given in the set method.
 
0
Santosh Prasad
 
 
Question
how can we assigns items on listbox so that it will show 
rowwise please write the code for it.
Rank Answer Posted By  
 Question Submitted By :: Santosh Kumar Rath
I also faced this Question!!   © ALL Interview .com
Answer
Lisbox1.Items.Add "Prashant"
Lisbox1.Items.Add "Chinchu"
Lisbox1.Items.Add "Pallavi"
Lisbox1.Items.Add "Suresh"
Lisbox1.Items.Add "Polika"
 
2
Prashant N
 
 
Answer
listbox.items.add("item name")
 
5
Sajad Aziz
 
 
Answer
ListBox1.Items.Add(TextBox1.Text)
 
0
Vinod
 
 
Question
what is vb.net?
Rank Answer Posted By  
 Question Submitted By :: Ashwin
I also faced this Question!!   © ALL Interview .com
Answer
Vb.net is a programming language that is available in 
Visual Studio. Net. It contains features of visual basic 
which is event based programming language and also includes 
object oriented concepts.
 
0
Saurabh Dixit
 
 
Answer
vb.net is framework which contains oop concept
 
0
Shivani
 
 
Answer
VB.Net is based on OOPS concept and have a framwork 
architecture with language independence
 
0
Archana
 
 
Answer
vb.net is a programming language of .net frame work which 
is based on oops concepa
 
0
B.sangita Rani Patra
 
 
Answer
VB.Net is a programming language which is an extension of
Visual Basic to make it compliant to the Dot Net Framework.

Also VB.Net is fully Object Oriented unlike Visual Basic and
everything in VB.Net is an object.

As it is compliant to the Dot Net Framework VB.Net can make
full use of Framework Class Library provided by dot Net
Framework.
 
4
Swati M
 
 
Answer
VB.Net is an IDE.
 
0
Santosh Prasad
 
 
Answer
Vb.Net Is A Programming language And It Based on Oops 
Concept. And It
Contains features of visual basic which is event based 
programming language And
Vb.net application can run on any platform on which .net 
framework is present.
 
0
Bovindra Singh
 
 
Answer
vb.net offers a capabilities for developing windows application, console 
application as well as web application.
 
0
Pramod Kumar
 
 
Answer
vb.net is implimentation and specification of microsoft 
which is specialy used for web development
 
0
Amol Kinge
 
 
Question
How do you validate Date by using which validation Control?
Rank Answer Posted By  
 Question Submitted By :: Swapna
This Interview Question Asked @   HCL , HCL, Iquest
I also faced this Question!!   © ALL Interview .com
Answer
<asp:regularexpressionvalidator id="regExpDate" 
runat="server" 

ValidationExpression="^\d{2}[\/-]\d{2}[\/-]\d{2,4}$"

ErrorMessage="It is not a valid date" 
ControlToValidate="txtpatientvisitdate" 
EnableClientScript="False" 
Display="Dynamic"></asp:regularexpressionvalidator>

Kamal..
 
2
Kamalakannan.a
 
 
Answer
<asp:RegularExpressionValidator ID="revEndDate" 
ControlToValidate="txtEndDate" ValidationExpression="((^
(10|12|0?[13578])([/])(3[01]|[12][0-9]|0?[1-9])([/])((1[8-9]
\d{2})|([2-9]\d{3}))$)|(^(11|0?[469])([/])(30|[12][0-9]|0?
[1-9])([/])((1[8-9]\d{2})|([2-9]\d{3}))$)|(^(0?2)([/])(2[0-
8]|1[0-9]|0?[1-9])([/])((1[8-9]\d{2})|([2-9]\d{3}))$)|(^(0?
2)([/])(29)([/])([2468][048]00)$)|(^(0?2)([/])(29)([/])
([3579][26]00)$)|(^(0?2)([/])(29)([/])([1][89][0][48])$)|(^
(0?2)([/])(29)([/])([2-9][0-9][0][48])$)|(^(0?2)([/])(29)
([/])([1][89][2468][048])$)|(^(0?2)([/])(29)([/])([2-9][0-9]
[2468][048])$)|(^(0?2)([/])(29)([/])([1][89][13579][26])$)|
(^(0?2)([/])(29)([/])([2-9][0-9][13579][26])$))" 
SetFocusOnError="True" Display="Dynamic" 
runat="server">*</asp:RegularExpressionValidator>
 
0
Arunajyothi.m
 
 
Answer
Whereas in ASP.Net we can use RegularExpression Validator to
validate the date value.  But in VB.NET we have to use Class
RegEx.  

If Regex.IsMatch(txtDate,
"(0[1-9]|[12][0-9]|3[01])-(0[1-9]|1[012])-((19|20)\d\d)") Then
 
0
Cherran
 
 
Question
What does VS.NET contains ?
Rank Answer Posted By  
 Question Submitted By :: Laya
This Interview Question Asked @   Infosys , Infosys
I also faced this Question!!   © ALL Interview .com
Answer
VS.NET contains .NET FRAMEWORK includes Window form, Web 
Form, Base Class Libraries and CLR.
 
0
Raj
 
 
Answer
Visual Studio.net contains .NET framework solutions.  And it
includes Windows, Web, and Console applications.
 
0
Daniel
 
 
Answer
Visual Studio .Net is basically a framework which makes easy
development of codes written in Various programming languages..
It contains two things
1.Framework Class Library:It contains various classes
managed within various namespaces.

2.Common Language Runtime:CLR is the execution engine which
helps in compiling the IL code into machine code,takes care
of security issues and many other critical tasks.
Web pages,windows apps,console applications,Class libriaries
are various options which can be created using VS.net
 
0
Swati M
 
 
Question
How do you rate yourself in .NET ?
Rank Answer Posted By  
 Question Submitted By :: Laya
This Interview Question Asked @   Infosys
I also faced this Question!!   © ALL Interview .com
Answer
Based on Framework understanding and OOPS Concepts,
Use of Diffrent Component Library
 
3
Rahul
 
 
Answer
In dot net myself around 7
 
0
Srini
 
 
Answer
based on .net framework and .net compact framework 
both ............ i rate myself 8
 
3
Saroj Gajraj
 
 
Question
What is intermediate language in .NET ?
Rank Answer Posted By  
 Question Submitted By :: Mathur
This Interview Question Asked @   Digital-GlobalSoft
I also faced this Question!!   © ALL Interview .com
Answer
MSIL
 
0
Guest
 
 
Answer
not MSIL 
C# , J# , ASP.NET, VB.NET, and other 13 intermediat lanuages
 
0
Pappu
 
 
Answer
.net supports CLS i. e. Common language type. its a 
microsofts feature to bring all languages near one roof.
When You compile .net code it dosen't converted into binary 
language, it converted into IL (Intermidate Language) also 
known as MSIL. And from IL to binary language converted at 
run time, CLR manages this process. At the runtime also it 
not converts whole project at time to binary, only converts 
that part which is going to execute, this the performance 
of project increases. This IL can use any lanuage which is 
member of that .net studio. The assemblies (ExE, DLL) are 
also in IL form. So u can use any EXE or DLL created in 
vb.net in c#.net also.
 
0
Santosh
 
 
Answer
which converts native code into byte code i.e machine 
understandable code.
 
0
Ranganath
 
 
Answer
MSIL is MicroSoft Intermediate Language. When we 
compile .Net applications, its complied to MSIL, which is 
not machine read language. Hence Common Language Runtime 
(CLR) with JustIn Time Complier (JLT), converts this MSIL 
to native code (binary code), which is machine language.
 
0
Rajesh Iyer
 
 
Answer
It is cpu independent language.It is only understand by 
CLR.due this language(MSIL) vb.net application can run on 
any platform on which .net framework is present.
 
0
Bovindra Singh
 
 
Answer
It converts the code into bytecode. it is a service that 
runs under the CLR. When we compile our code it gets 
compiled into IL(Previously Known as MSIL).
 
0
Jastaj
 
 
Answer
Correct Answer is MSIL and it is 100% sure.
 
0
Sonia
 
 
Answer
All .net code is compiled to IL(is also called as MSIL)  
which doesn't understand machine.CLR uses JIT compiler to 
convert IL into Executable file.
 
0
Sowjanya
 
 
Answer
when we compile a file in cscharp through csc compiler it
reach at intermidiate state where it neighter in souce code
nor in machine native code.it can be exe or Dll which can
later be used in diffrent language.
 
0
Nazrul
 
 
Answer
MSIL (Microsoft Intermediate Language) or CIL (Common 
Intermediate Language). All .NET source code is compiled to 
IL. This IL is then converted to machine code at the point 
where the software is installed, or at run-time by a Just-
In-Time (JIT) compiler.
 
0
Sivasubramanian Hariharan
 
 
Answer
Convert the .net programming language code into compiler 
understand code
 
0
Venkatesh
 
 
Answer
When you compile a progam developed in a language that targets the CLR, instead on compiling the source code into machine-level code, the compiler translates it into IL to ensure interoperability between applications developed in different programming languages, such as Visual Basic or Visual C#. Intermediate Language is CPU-independent. This means that the code can be executed from any platform that supports the .NET CLR.
 
0
Vishal Surve
 
 
Question
Disadvantages of vb ?
Rank Answer Posted By  
 Question Submitted By :: Mathur
This Interview Question Asked @   Digital-GlobalSoft
I also faced this Question!!   © ALL Interview .com
Answer
Following are the disadvantage of VB :
1. VB is not object oriented.
2. VB DLL does not support side-by-side execution
3. Deployment is time consuming as all the components must 
be registered in the Windows registry.
 
3
Ashwini
 
 
Answer
1.The VB support OOP concepts,but not support fully.

2.VB does not support exception handling.

3.No multithreading mechanism.

kamal....
 
0
Kamalakannan.a
 
 
Answer
The dlls of the VB is mapped with the Registry so the 
overhead on the registry is increased.
Vb is not Object oriented bcoz it don't hv classes
it hv only the functions so we hv to learn the functions 
for the programing we can't import the classs.
vb is only for the application programing but nw the 
scenario is for web applications?
 
0
Ravi
 
 
Answer
VB dosent use magic
 
0
Oooooooooooo
 
 
Question
Advantage of vb.net over vb ?
Rank Answer Posted By  
 Question Submitted By :: Mathur
This Interview Question Asked @   Digital-GlobalSoft
I also faced this Question!!   © ALL Interview .com
Answer
1,supports Threading
2,powerful Exception handling
mechanism
3,having support for the
console based applications
4,More than one version of
dll is supported
 
0
Raj
 
 
Answer
1. VB is object based while Vb.net is Object oriented
2. VB.net using OO functionality like inheritenca, 
Excepetional handling, etc
3.VB .net is strong type casting whicv VB lack
4.VB.net supports multi threading....
 
0
Milton
 
 
Answer
1. vb.net support Multi-Threading.
2. vb.net is used as language in asp.net
3. vb.net is OO while vb is object based.
4. vb.net support exception handling.
 
0
Abc
 
 
Answer
1. VB.net is object oriented
2. VB.Net can be used in Managed Code
3. It supports inheritance, implement
 
0
Govind
 
 
Answer
1.supports Threading
2.powerful Exception handling mechanism
3.having support for the console based applications
4.vb has its own interpreter and vb.net has compiler(CLR).
5.VB is object based while Vb.net is Object oriented
 
0
Prakash
 
 
Question
Is VB.NET object oriented? What are the inheritances does
VB.NET support ?
Rank Answer Posted By  
 Question Submitted By :: Mathur
This Interview Question Asked @   Digital-GlobalSoft , Infosys, Global Infonet
I also faced this Question!!   © ALL Interview .com
Answer
yes VB.NET ia an object oriented.
 
1
N.kishor
 
 
Answer
vb.net is object oriented concept.it is supports to 
inheritence but it donot support to multiple inheritance.
 
2
Manish
 
 
Answer
Vb.net supports all inheritance

1)single inheritance
It means Single class inheriting to single child classes
2)multiple inheritance
multiple classess inherits to single classes
3)Multilevel  Inheritance
Single class inherits to one class that class inheritd to 
single another class
4)Heirarichal inheritance 
Single class inherits to Multiple classes
5)Hybrid Inheritance
Single class inherits to different classess and that 
classes inherits to one class
 
1
Harikrishnan
 
 
Answer
With respect to Answer 3 of this Question.
I think following are still not clear-

4)Heirarichal inheritance 
Single class inherits to Multiple classes

This is not possible in .NET.
5)Hybrid Inheritance
Single class inherits to different classes and that class 
inherits to one class

It should be Single class inherits to different class (not,
classes) and that class inherits to one class
 
0
Nirman
 
 
Answer
yes,vb.net is object oriented.
vb.net supports only
1)single level inheritance/simple inheritance
2) multi level inheritance
3)hierachical inheritance

vb.net doesn't supports
multiple,hybrid inheritance.
 
0
Deepu
 
 
Answer
vb.net is not a object oriented. its a compiled language.
 
0
Srini
 
 
Answer
vb.net is not pure object oriented as compare C#.it is 
support inheritance concepts but not supports to multiple 
inheritance
 
0
Manish Upadhyay
 
 
Answer
Answer 4 & 5 is the correct one. Pls ignore all other answers.
 
0
Cherran
 
 
Answer
VB.Net is an Object Oriented Language.
It doesn't support multiple inheritance. For this purpose, 
interfaces are introduced. 
VB.Net supports multiple interfaces
 
0
Hari
 
 
Answer
vb.net is not a object oriented. its a compiled language.

- the most dumbest answer. Please don't give wrong answers 
when you are not sure. It will misguide the readers.
 
0
Hari
 
 
Answer
hey hari,i have faced the interview Question what are 
interfaces?
  I answer Vb.net doesn't supports multiple inheritance,but 
it can be achieved in .net using interfaces. Interfaces are 
silmilar to class,that contain methods.
  but they do not provide any implementation for these 
methods. 

Then they asked WHY VB.NET DOESN't SUPPORTS MULTIPLE 
INHERITANCE??
If u know Can u plz answer!!!!!!!!!
 
0
Sonia
 
 
Question
Difference between VB dll and assemblies in .NET ?
Rank Answer Posted By  
 Question Submitted By :: Mathur
This Interview Question Asked @   Digital-GlobalSoft
I also faced this Question!!   © ALL Interview .com
Answer
assemblies contain more then one dll an exe and executable 
code
 
2
Anil Sharma
 
 
Answer
BOTH VB DLL AND ASSEMBLIES ARE REUSEABLE CODE
BUT WHEN YOU CREATE TWO DLLS WITH SAME NAME IN VB
VERSIONING PROBLEM OCCURS IN VB

IN ASSEMBLES ARE INTRODUCED TO AVOID VISIONIG PROBLEM
IN .NET
 
0
Pavan Kumar
 
 
Answer
Assemblies can contain DLL and EXE both. Different versions 
of one DLL can be handeled by assemblies. They overcome the 
DLL Hell problem. Assemblies Contain Manifest and MetaData 
files. These are the seprate files that describes the 
Assembly and its attributes. 

VB DLL is inprocess.DLL run with an exe                   
where as DLL are not self executable. 
we can reuse DLLs .DLL are not platform independent
If we have more then one Versions of a DLL we can face DLL 
Hell Problem.
 
2
Vineeta Agarwal
 
 
Answer
Assemblies can contain morethan one dll,exe and html file 
and they represents the resources,type definition and 
implementation of those types.
 
0
Srini
 
 
Answer
All most all languages support VB DLL(COM DLL).But
assemblies can support only in .Net frameworks..
 
0
Ambarish T.v
 
 
Question
How do you do multithreading application in VB ?
Rank Answer Posted By  
 Question Submitted By :: Sweety
This Interview Question Asked @   Satyam
I also faced this Question!!   © ALL Interview .com
Answer
VB doesn't support multithreading.
 
0
Kamal
 
 
Answer
Its the fastest and an excellent application provided in
VB.net.  Due to which many operations can be done without
any lapse of time.  The system need not wait for an
application or any task to get completed, rather it runs
simultaneously.
 
0
Daniel
 
 
Answer
VB6 does not support multithreading.
However, It is possible using Win32 API 
"CreateThread" function.
 
0
Dileep.t
 
 
Answer
Keep it simple. User few timer, and some state. Or you can
do multi processes and asynchronous call too. But be careful
with slowness.
 
0
Trevor Wong
 
 
 
Back to Questions Page
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com