-
-
-
-
-
-
-
-
-
-
By default VB.NET compiler will create an assembly that is composed of 2 modules
A) TrueB) FalseExplanation: Compiler creates an assembly that is composed of single module
-
-
Which of the following methods still in use to access the COM objects in VB.NET but not used to access VB.NET objects
A) NewB) GetObjectC) CreateObjectExplanation: Createobject is used to access COM objects while NEW is used to access VB.NET objects
-
-
When does a Missing Number exception occurs?
A) When there a DLL versioning problemB) When 0 is used as a divisor in an arithmetic routineC) Occurs when there is not enough memory to continueExplanation: Missing Number exception occurs when an wrong version of DLL is referred inside the code.
-
Where do you find COMException class
A) System.Runtime.InteropservicesB) System.XMLC) System. DataExplanation: Interopservices has all the classes, which related to COM
-
Which method of the XMLdocument class takes xml as string while loading
A) Loadxml ( )B) Load( )C) Save ( )Explanation: Loadxml ( ) expect the xml to be loaded is passed as an valid XML string
-
Which one of the following is the best to retrieve the data multiple time from database and to model a complex a relation ship in memory.
A) Data SetB) Data ReaderC) DataRowExplanation: Dataset is a in memory database hence data can be retrieved any number of times and can be modeled to build any complex relation ship.
-
How do you define attributes in Vb.Net
A) []B) C) {}Explanation: Attributes are enclosed with in the angular brackets in Vb.Net
-
VB.NEt code can be used in Server side scripting of an aspx page
A) TrueB) FalseExplanation: Either C# or Vb.Net can be used in the code behind of an .aspx page
-
Application Class in VB.NET
Visual Basic 2005 introduces a speedy way to access many important classes relating to the Computer on which the application is running, the user running it, the application itself, its forms and any associated web services. The best part of it all is that you can access it all using the new My object. The new My object has added features that help the programmer to gain access to some functionality...
VB.NET Interview Questions
Ans