- 
                    Which statement shows Boxing?A) Dim O as object=I ( as i an integer)B) Dim I as integer=OC) Both 
- 
                    What is the maximum no of dimension that an array can have in VB.NET ?A) 3B) 5C) 32D) Unlimited 
- 
                    Which of the following functions have been removed in VB.NET from VB 6?A) String( )B) IsEmpty( )C) DoEvents ( )D) All of the above 
- 
                    An Assemblyinfo file in a VB.NET project will have _______ as file extesion.A) .configB) .vbC) .cs 
- 
                    The methods declared with the following modifier are not accessible outside the classA) ProtectedB) FriendC) PrivateExplanation: Private functions are available with in the class module 
- 
                    
- 
                    
- 
                    
- 
                    Class LibraryWhat are the benefits of using Class Library? 
- 
                    The keyword to use while overloading operators is:A) OperatorB) OverloadC) Overloads 
- 
                    Data can be loaded into a DataSet from:A) Microsoft SQL ServerB) Microsoft ExchangeC) Microsoft Active Directory 
- 
                    How do you preserve the contents of an array from being cleared when the array is redimensioned?A) Using Redim KeywordB) Using Preserve KeywordC) Using Reserve Keyword 
- 
                    VB.NET 2003 can not support followingA) Operator OverloadingB) Multiple InheritanceC) Multilevel InheritanceD) All of the aboveE) A & B Only 
- 
                    Which of the following is not member of String classsA) CopyB) ConcatC) FormatD) Substring 
- 
                    How many levels of compilation happens in .NET FrameworkA) One LevelB) Two LevelC) Three LevelExplanation: Source Code to MSIL in first level & MSIL to Native code in second level 
- 
                    Every type supported by CTS is derived fromA) System .ObjectB) System .TypeC) System .DataExplanation: System .Object is the base for every type in VB.NET 
- 
                    How do we implement private interfacesA) Using Inherits KeywordB) Using Implements KeywordC) Private interfaces can not be implementedExplanation: Interfaces must always be declared as public so that they can be implemented or inherited 
- 
                    Which of the following is not a method of Debug classA) Assert( )B) Flush( )C) Open( ) 
- 
                    p_conFirst.Open()
 'error 4060
 I was trying different connectionStrings,reinstall
 Sql server and Visual Basic but have the same massage:"Cannot open database.Login failed".Maybe somebody has answer
 Thanks,Boris
 ">I've just downloaded VB 2005 Express and SQL server 2005 express.Built database and tryingto connect and open DB.My code is:Public p_conFirst As New SqlConnection() p_conFirst.ConnectionString = "Server=bk;Database=First;Trusted_Connection=True;"p_conFirst.Open() 'error 4060I was trying different connectionStrings,reinstallSql server and Visual Basic but have the same massage:"Cannot open database.Login failed".Maybe somebody has answerThanks,Boris
- 
                    
VB.NET Interview Questions

 
  
  
  
		
Ans