July 3, 2019

Srikaanth

AppDynamics Frequently Asked VB.NET Interview Questions

AppDynamics Most Frequently Asked Latest VB.NET Interview Questions Answers

What Are The Similarities Between Class And Structure?

-> Both can have constructors, methods, properties , fields, constants , enumerations, events and event
handlers.
-> Structure and class can implement interface.
-> Both of them can have constructor without parameter and with parameter.
-> Both can have delegates and events.
[class is a collection of methods functions and properties enumerators and fields.
structure can be defined as a tool for handling a group of logically related data item.
the main difference is class is a referance type.structure is a reference value type.]

What Is The Difference Between Dataset And Recordset?

A DataSet can represent an entire relational database in memory, complete with tables, relations, and views.

-A DataSet is designed to work without any continuing connection to the original data source.
-Data in a DataSet is bulk-loaded, rather than being loaded on demand.
-There's no concept of cursor types in a DataSet.
-DataSets have no current record pointer You can use For Each loops to move through the data.
-You can store many edits in a DataSet, and write them to the original data source in a single operation.
-Though the DataSet is universal, other objects in ADO.NET come in different versions for different data sources.
[1)With Data set you can retrive data from database like oracle and SQL Server and manage them in one dataset, with recordset this is not possible.
2)All representation of Dataset is using XML while recordset uses COM.
3)Recordset can not be transmitted on HTTP while Dataset can be.]

How Does You Get Record No From 5 To 15 From A Dataset Of 100 Records?

dim dRow as data.datarow
for i as interger = 5 to 15
drow = dSet.Tables(0).Rows(i)
'process row
next i

What Is The Difference Between Dataset And Datareader?

DataReader
Datareader is like a forward only recordset. It fetches one row at a time so very less Network Cost compare to DataSet(Fetches all the rows at a time). DataReader is readonly so we cannot do any transaction on them. DataReader will be the best choice where we need to show the data to the user which requires no transaction i.e reports. Due to DataReader is forward only we cannot fetch the data randomly. .NET Dataproviders optimizes the datareaders to handle the huge amount of data.

DataSet
DataSet is always a bulky object that requires lot of memory space compare to DataReader. We can say the dataset as a small database because it stores the schema and data in the application memory area. DataSet fetches all data from the datasource at a time to its memory area. So we can traverse through the object to get required data like querying database.The dataset maintains the relationships among the datatables insideit. We can manipulate the realational data as XML using dataset.We can do transactions (insert/update/delete) on them and finally the modifications can be updated to the actual database. This provides impressive flexibility to the application but with the cost of memory space. DataSet maintains the original data and the modified data seperately which requires more memory space. If the amount of data in the dataset is huge then it will reduce the applications performance dramatically.

How Do You Declare Static Variable And How It Is Declared And What Is Its Lifetime?

Static variables are declare through the Static Var1 as Integer The scop of the Var1 is within the module where its is Defined.

What Is The Difference Between Overriding And Overloading?

overloading-------having same method name with different signatures.
overriding--------methods name and signatures must be same
[OverLoading : All the method will share the same name but it differes based on the parameter, type of parameter and number of parameter
Overriding : The method in the derived class the has the same name in the base class and it changes the behaviour or functionality of the method in the base class.]

What Is Shadowing?

When global and local varible in the same name.the local varibale in a mehod or function which use to override the global is called the shadowing.ie the Global varible is being shadowed by the local varible.
AppDynamics Most Frequently Asked Latest VB.NET Interview Questions Answers
AppDynamics Most Frequently Asked Latest VB.NET Interview Questions Answers

What Is An Abstract Class?

It is a class which contains at least one abstract method(A method without any implementation). Other methods can have implementations. This class can not be instantiated. It can always become a base class for other classes.

What Is The Difference Between Friend And Protected Friend?

Protected variable will be accessed in inherited class, but instance variable of class cant access protected variable.While friend variable will be accessed in inherited class as well as instance variable of class across the project.Where we need both functionality we are using protected friend scope.
[Protected --> Accessible ONLY by
1.Derived classes
2.Within the same class
Friend --> Accessible ONLY by
1.Derived classes
2.Classes in the same assembly
3.Within the same class
Protected Friend --> Accessible ONLY by
1.Derived classes
2.Classes in the same assembly
3.Within the same class]

In Order To Get Assembly Info Whcih Namespace We Should Import?

system.reflection.

Columnmapping Belongs To Which Namespaces?

System.Data.Common.

Do Event Have Return Type?

No. events do not have return type.

What Do You Mean By .net Framework

It is a collection of classes and services.It exists as a layer between.NET applications and underlying operating system.i.e., it encapsulates the basic functionality that was earlier built into programming languages such as debugging and security services.
[.net framework is a collection of services & classes.it exists as a layer b/w .net applications 7 the underlying operating system.
.net framework consists of web forms,window forms & console applications that pertain to the presentation layer of the aplication.
.net framework consists of two other components,the .net framework base classes & common language runtime(CLR).]

Is There Any Easy Way To Convert Vb6 Programs To Vb.net?

Just Open The Vb Project in Visual Studio.Net(File---> Open).

What Is The Common Language Runtime?

CLR means commaon language runtime for the dot net frame work.it is the frame work layer that resides above the operating system and handels/ manages the execution of the .net applications.our .net programs don't directly communicate with the operating system but through CLR.
OUT .NET APPLICATION--->>CLR--->WINDOWS OS

Please List Some Final Year Projects That Can Be Done Using Vb.net In The Application Level.

You can go for internet control of robot.
1. use chips:- at89c51 microcontroller, l293d motor driver n max232 converter (for robot)
2. using vb.net, develop the gui n use winsock programming for sending photos on internet.
3. use mscomm programming in .net to move the robot in a wired connection with the comp.
4. u can also use Enbedded C for microcontroller programming in place of assembly.use keil compiler for that n its available for free on internet.
5. attach a cam to robot, move it n transfer the photos captured to the client over internet.

How Can We Get The Contents Information That Are Displayed In A Web

browser control in vb.net.

Suppose If We Display The "c:\" Or "d:\" Of The Computer In A Web Browser And We Want To Get Any Folder Details But Not Ny Rigth Clicking The Folder. How To Do That Plz Help

I think you want the openfiledialog, unless your saving, then savefiledialog. Add one to your project. the simplest usage allowing you to use in any fashion would be
Dim OPEN as New Openfiledialog
open.showdialog()
then when you hit open on the dialog, you can pass that information such as
Dim a as string
a = open.filename()
a will then = D:/Filename.smt, or whatever its real directory is Ofcourse there more recomended approaches to this method, but that should get you somewhere.

What Is The Base Class Of .net?

System.Object is the base class of .NET
It Supports all classes in the .NET Framework class hierarchy and provides low-level services to derived classes. This is the ultimate superclass of all classes in the .NET Framework; it is the root of the type hierarchy.

Whats The Difference Bt. .dll Extension And .exe Extension Files?

DLL : It is an inprocess server and runs in the same memory space as client application. Problem with dll is if any error comes in dll, whole application gets crashed.
Exe : It is an out of process server and rus as independent application in seperate memory. If error comes in exe, it does not affact the client application.

How To Send Xml File On Server Using Http Protocol?

Through SOAP Protocol.

How A Rotate A Control (rotation Like Shapes Are Rotated In Ms Powerpoint ) In Vb.net?

we can use adrotator control to use like powerpoint presentation.

How Can I Extract The Formated Word(bold,italic,underline,font,color Etc) From The Msword File.?

using CommonDialog class
eg
the code to invoke the default font dialog box by using the FontDialog control is given below
private sub displayfont_click(byval sender as system.object, byval e as system.eventargs) handles displayfont .click fontdialog. showDialog()
textbox1.font=fontdialog1.font
end sub
the code to invoke the default font dialog box by instantiating the fontdialog class is
dim fdialog as new fontdialog()
private sub displayfont_click(byval sender as system.object,byval e as system.eventargs) handles displayfont. click fdialog. showDialog()
textbox1.font=fontdialog1.font
end sub

Differences Between Vb.net And C#, Related To Oops Concepts?

1. C# uses Must not Inherit, VB.Net uses sealed class
2. C# uses Internal, VB.Net uses Friend
3. VB.Net uses with events and end events
4. C# uses abstract and VB.Net uses Must Inherit

Can U Able To Get The Xml Document In Crystal Report If Yes How Its Possible?

Yes. You have to convert XML to dataset.

Subscribe to get more Posts :