![]() |
IT-Interview.com:Open Database for IT Professionals to share interview questions, answers and knowledge. |
![]() |
IT-Interview.com:Open Database for IT Professionals to share interview questions, answers and knowledge. |
1)What is the difference between vb and vb
asked by: ahfaz on: Sep 2, 2009
vb is object based and vb.net is object oriented.In VB.net oops concept is used.
skarfy answered on:Sep 4, 2009 0 comments 
1) VB.net is object oriented.
2) VB.net supports exception handling.
3) VB.net is strongly typed.
4) VB. net supports multithreading.
5) VB.net now has console applications.
yingjun1989 answered on:Sep 6, 2009 0 comments 
1. Visual Basic.NET is object oriented but VB 6 is not so.
2. Visual Basic.NET supports multi threading but VB doesnt support.
3. Visual basic.NET supports Managed Code extensions but VB doesnt support.
4. Both Vb and VB.NET support command line programs.
5. Both VB and VB.NET support COM and COM+ applications.
6. VB.NET is strongly typed but VB is not so.
nubb answered on:Sep 8, 2009 0 comments
VB:* object based language* does not support inheritance* does not support for disconnected architechture* no interoperability function* no support for threading* no powerful exceptional handling mechanism* does not support console based applications* cannot use more than one version of com objects this is dll error* does not support threadingVB.NET:* object oriented language* supports inheritance* supports disconnected data architechture* it supports interoperability* uses managed code* supports threading* provides access to third party controls like com dcom* powerful exceptional handling* having support for the console based applications* more than one version of dll is supported
guardianx3 answered on:Sep 9, 2009 0 comments
vb.net is fully object orientated high security used in mobile application.
ichigolover answered on:Sep 11, 2009 0 comments 
Dim cn As SqlConnection
Dim cmd As SqlCommand
Dim dr As SqlDataReader
Dim table As New DataTable
constructor
initialze the cn object like eg
cn new sqlconnection( server name;database name;uid name;pwd name; )
write it in the button .click event that add the table dynamicaaly created to datagrid
Try
cmd New SqlCommand
cmd.CommandType CommandType.Text
cmd.Connection cn
cmd.CommandText select * from manas
cn.Open()
dr cmd.ExecuteReader()
Dim i As Integer
For i 0 To dr.FieldCount - 1
table.Columns.Add(i)
Next
Dim row As DataRow
While dr.Read()
row table.NewRow()
For i 0 To dr.FieldCount - 1
row(i) dr(i)
Next
table.Rows.Add(row)
End While
DataGrid1.DataSource table
Catch ex As Exception
MsgBox(ex.Message %26 ex.StackTrace)
Finally
cn.Close()
dr.Close()
End Try
whitesy answered on:Sep 12, 2009 0 comments
I want know what is the diff b/w VB and VB.NET
lightr answered on:Sep 13, 2009 0 comments
We do Christian Louboutin Sale
for many years. All Christian
Louboutin Shoes in our Christian Louboutin UK
online store are among the brands which have gained a great repute over a longer
period of time. Our Christian
Louboutin Outlet has created a line of stylish Christian
Louboutin Boots, Christian Louboutin Bridal, Christian
Louboutin Daffodil, Christian
Louboutin Flats, Christian
Louboutin Mens, Christian
Louboutin Peep Toe, Christian
Louboutin Wedding Shoes and so on to make you look amazing in the crowd.
Various Cheap Christian
Louboutin in our Christian
Louboutin Sale UK store in high quality you really worth having one, and
each Christian Louboutin
Shoe Sale in our Christian
Louboutin Outlet UK online are a well known name in the fashion circuit and
is always in sync with the latest design and shape. You can also buy Christian Louboutin Platforms,
Christian Louboutin Pumps, Christian
Louboutin Sandals, Christian
Louboutin Slingbacks, Christian
Louboutin Wedges. Worth to say, the Christian
Louboutin Mens Shoes as the most popular Christian Louboutin UK Shoes
in our shop you may also interested. Free shipping for all items now, welcome
to visit.
xixi answered on:May 10, 2012 0 comments