For Hyderabad best hostels information log on to www.hydhostels.com Software Training,Hardware Training,Career Counseling,Call Center Training,Technical Training,Course Modules,Faqs,Medical Transcription,:: ::::::::::
VB.Net
 

1. What is VB.Net?

Ans: VB.Net
(Microsoft) Visual Basic .NET. Touted by Microsoft as the next version of VB after VB6, but regarded by some as a new language in its own right because of the magnitude of the changes between VB6 and VB.Net. Very infrequently referred to as VB7. 

  • VB.net is object oriented
  • VB.Net can be used in Managed Code
  • It supports inheritance, implement

2. How can we remove Handlers at Run time ?

Ans:
RemoveHandler myobj.myEvent, AddressOf MyEventHandler

3. Differeces B/W VB.NET and C#(Coding)?

Ans:
c# is case sensitive while VB.Net is case insensitive
c# is specifically targeted to programmers more efficient in C++, or Java its syntax is very much similar to java. While VB.Net is targeted for VB programmer and syntactically is very much similar to VB 6. with a much strong implementation of OOP modal
c# supports pointers ( although not recommended ) VB.Net does not.


4. Whats the difference bt. .dll extension and .exe extension files?

Ans: 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

5. How do you prevent the class from being inheritance?

Ans:
Simply include the keyword ‘NotOverridable’ in front of the class keyword.

6. How many views available in list view control and what are they?

Ans:
4 views…
Large icon, small icon, Details and List.


7. How to send xml file on server using HTTP protocol?

Ans: Through SOAP Protocol

8. What is the base class of .net?

Ans:
System.Object

9. What is the use of ‘Preserve’ Keyword?

Ans:
The preserve keyword helps to prevent data in an array from being lost.

10. How do you create Drop Down Combos in HTML ? select Tag

Ans:
Drop dowm can done through (<select
<option> <option>

11. Differences between VB.Net and C#, related to OOPS concepts?

Ans: VB.NET is a windows application

Where as C# is a console


12. What is Short Circuit Operator?

Ans:
&&, is known as shortcircuit operator

13. How to send Email using VB.Net?

Ans: by using
system.web.mail namespace,

here is procedure:
Dim mails1 As New MailMessage
mails1.From = "from address"
mails1.To = "to address"
mails1.Subject = "subject"
mails1.Body = " message "
SmtpMail.SmtpServer = "smtp.net4india.com"
SmtpMail.Send(mails1)


14. What is the Vector class?

Ans:
A vector implements dynamic array, which can grow and shrink dynamically.It is similar to Arraylist with a difference that vector can be synchronized. it also contain some legacy methods.

15. What is the difference between the String and StringBuffer classes?

Ans:
String :
String is fixed length of character sequence, simply immutable. 
litteral string can create the object instead of creating object using new operator.  Yes, In string we can create object without new operator.
for example
String s= "This is example for litteral string";