• +91 9723535972
  • info@interviewmaterial.com

VB.Net Interview Questions and Answers

VB.Net Interview Questions and Answers

Question - 161 : - What Do You Mean By Option Strict On?

Answer - 161 : -

Option Strict On will restrict the implicit type casting (defalut is off in vb,net)

Question - 162 : - What Is The Source Code For Display The Picture In Button Click Event?

Answer - 162 : -

PictureBox1. Image = Image.FromFile(”C:olympicsO8_basketball .gif”)

Question - 163 : - How Do You Define A Read Only Properly In A Class Module?

Answer - 163 : -

Public Class YourClass
Private yourName As String
Private yourNumber As Decimal
Public Sub New(breed As String)
yourName = breed
End Sub
Public ReadOnly Property Name() As String
Get
Return yourName
End Get
End Property

Question - 164 : - What Is Non_deterministic Finalization?

Answer - 164 : -

The Finalize method is actually executed by the runtime on a special thread allocated by the Garbage Collector (GC).The Finalize method is executed whenever the runtime feels it is appropriate, such as when a low-resource condition occurs and this situation is often referred to as non-deterministic finalization.

Question - 165 : - What Is Different Between Web.config And Machine.config And Where It Will Be?

Answer - 165 : -

The settings made in the web. config file are applied to that particular web application only whereas the settings of machine.config file are applied to the whole asp.net application.

Question - 166 : - What Is The Difference Between .dll Extension And .exe Extension Files?

Answer - 166 : -

The main difference between .dll and .exe is
.dll is the in process component where it take up the client’s memory space to run. So the communication between the application and component (dll) is very fast.
.EXE is the Out of process component. It uses its own memory (not application memory) to run the component. The communication between the application and component is slow when compared to .dll

Question - 167 : - How Vb Implements The Disconnected Architecture As Like Vb.net?

Answer - 167 : -

In VB to implement a disconnected recordset, after you have filled the recordset with the data, set its active connection property to “Nothing”. That breaks the connection to the database. You can locally also save the data of the recordset by using its Save function.

Question - 168 : - What Is The Use Of Console Application?

Answer - 168 : -

Console Applications are command-line oriented applications that allow us to read characters from the console, write characters to the console and are executed in the DOS version. Console Applications are written in code and are supported by the System. 

Question - 169 : - What Is The Difference Between Manifest And Metadata?

Answer - 169 : -

Manifest and metadata are 2 parts of assembly architecture.
Manifest is used for storing AssemblyName, AssemblyTitle,publicKey.
Metadata contains Namespaces, Classes.

Question - 170 : - Which Is The Tool Which Can Convert Visual Basic Old Version To .net Compatibility Version?

Answer - 170 : -

There is a tool available which can convert old visual basic functions into new .NET code. Artin soft Visual basic upgrade Companion is very useful in converting V13 code into NET code. This tool was developed by Artin. This tool is integrated in Visual studio.NET 2005. It handles programs such as structured handling, error handling, etc.


NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners