How Do You Define A Read Only Properly In A Class Module?
Public Class YourClass
Private yourName As String
Private yourNumber As Decimal
Public Sub New(breed As String)
yourName = breed
End Sub
Public ReadOnly Property Name() As String
Get
Return yourName
End Get
End Property
What Is The Source Code For Display The Picture In Button Click Event?
PictureBox1. Image = Image.FromFile(”C:olympicsO8_basketball .gif”)
What Do You Mean By Option Strict On?
Option Strict On will restrict the implicit type casting (defalut is off in vb,net)
What Are Jagged Arrays ?
Jagged array is an array inside an array is called a jagged array.
Name And Explain Some Of The Exclusive Features Which Are Present In Vb?
Some of the features which are exclusive to VB are as follows: -
1) Name space can be hidden which can be disabled.
2) Certain project files can be hidden and a user can show them if he intends to do.
3) Lots and lots of shortcuts are present which ease the development of programs.
4) Using the AddressOf myObject function a delegate can be made.
What Is The Difference Between An Xml "fragment" And An Xml "document" ?
An XML fragment is an XML document with no single top-level root element To put it simple it is a part (fragment) of a well-formed xml document. (node) Where as a well- formed xml document must have only one root element.
How Would You Implement Inheritance Using Vb.net/c#?
When we set out to implement a class using inheritance, we must first start with an existing class from which we will derive our new subclass. This existing class, or base class, may be part of the NET system class library framework, it may be part of some other application or NET assembly, or we may create it as part of our existing application. Once we have a base class, we can then implement one or more subclasses based on that base class. Each of our subclasses will automatically have all of the methods, properties. and events of that base class including the implementation behind each method, property, and event. Our subclass can add new methods, properties, and events of its own - extending the original interface with new functionality. Additionally, a subclass can replace the methods and properties of the base class with its own new implementation - effectively overriding the original behavior and replacing it with new behaviors.
Essentially inheritance is a way of merging functionality from an existing class into our new subclass. Inheritance also defines rules for how these methods, properties, and events can be merged. In VB.NET we can use implements keyword for inheritance, while in C# we can use the sign (:: ) between subclass and baseclass.
Explain The Differences Between Server-side And Client-side Code?
Server side code executes on the server. For this to occur page has to be submitted or posted back. Events fired by the controls are executed on the server. Client side code executes in the browser of the client without submitting the page.
e.g. In ASP.NET for webcontrols like asp:button the click event of the button is executed on the server hence the event handler for the same in a part of the code-behind (server-side code). Along the server-side code events one can also attach client side events which are executed in the clients browser i.e. javascript events.
In Vb.net How To Connect Crystal Report?
Click on solution explorer window right click and add to add new item. The window will be displaced select the crystal reports we have save in any name but extension is used .rpt eg:sss.rpt.
When We Will Use Console?
Console is used only for web application.
What Are The Objects In Asp.net And Tell The Purpose Of Those Objects?
Here are 5 objects in asp.net
Response: This object is to response to other e.g.
Request: This object is request from server.
Application: This object is store global information of application.
Session: This object used store the values into variable.
Server.
How To Create Crystal Report In Vb.net With Coding?
Explain About Visual Basic.net Culture?
VB was always a RAD tool and it was always user friendly for any type of user whether professional or not. It also provided many users with shortcuts and features which made this language popular among many users. It had its share of debugging and maintenance issues of course.
Compare C# And Visual Basic.net?
.NET Frame work includes two languages which are language to IL compilers and in this C# and VB.NET are provided. The importance and flexibility of these as better programming languages is still questionable. Visual basic has been updated and revised to make it object oriented whereas C has concepts from many languages such as Delphi, Java. etc and syntax from C and Java.
Explain About The Performance Of Visual Basic?
Visual basic 5 and 6 are efficient in coding the code to native or P-code depending upon the programmer. Portability is a major addition to the performance of VB.NET and the code is also small. Additional layer is provided which interprets the code and this can be avoided by using special algorithms and native code programming.
What Are The Various Open Source Tool Available For Vb.net?
When compared with the rapid development of open source tools for other languages from Microsoft (C#, dc) we can say that development of tools for VB has been slow. Mono development platform is one which is implementing VB libraries and is working on a compiler.
Describe About Visual Basic.net?
This is used in conjunction with Microsoft NET platform and is a successor to visual basic sixth version. Visual basic is used in conjunction with.NET Framework. This tool has a serious defect it is not compatible with Microsoft visual basic sixth version. It has a huge library which assists programmers.
Explain Briefly About Rapid Application Development Tool?
Rapid action development tool describes about the software development process. This tool gives flexibility in iterative development and prototype deployment. It enhances the speed of application development. It is also used for application maintenance.
What Is Versioning In .net?
main advantage of .net is versioning and solve very critical problem.
.net maintain one application with more then one version and also solve DLL HELL problem because it can run same application with different version at a same time[.Net have an Assembly. It gives the Portable Execution file.The main use of assembly is to maintain the Dll and exe's.
So sometimes the programmer confused to which is modified code.That time the assembly provide the Version.That is called versioning. It is start from 1.0.*,.......]
What Are The Properties Should Be Given To Set Method?
Class Class1
' Define a local variable to store the property value.
[Ans: Only One Property.
example
Private PropertyValue As String
' Define the property.
Public Property Prop1() As String
Get
' The Get property procedure is called when the value
' of a property is retrieved.
Return PropertyValue
End Get
Set(ByVal Value As String)
' The Set property procedure is called when the value
' of a property is modified.
' The value to be assigned is passed in the
' argument to Set.
PropertyValue = Value
End Set
End Property
End Class
How Can We Assigns Items On Listbox So That It Will Show Rowwise Please Write The Code For It.
Lisbox1.Items.Add "Prashant"
Lisbox1.Items.Add "Chinchu"
Lisbox1.Items.Add "Pallavi"
Lisbox1.Items.Add "Suresh"
Lisbox1.Items.Add "Polika"
Public Class YourClass
Private yourName As String
Private yourNumber As Decimal
Public Sub New(breed As String)
yourName = breed
End Sub
Public ReadOnly Property Name() As String
Get
Return yourName
End Get
End Property
What Is The Source Code For Display The Picture In Button Click Event?
PictureBox1. Image = Image.FromFile(”C:olympicsO8_basketball .gif”)
What Do You Mean By Option Strict On?
Option Strict On will restrict the implicit type casting (defalut is off in vb,net)
What Are Jagged Arrays ?
Jagged array is an array inside an array is called a jagged array.
Name And Explain Some Of The Exclusive Features Which Are Present In Vb?
Some of the features which are exclusive to VB are as follows: -
1) Name space can be hidden which can be disabled.
2) Certain project files can be hidden and a user can show them if he intends to do.
3) Lots and lots of shortcuts are present which ease the development of programs.
4) Using the AddressOf myObject function a delegate can be made.
What Is The Difference Between An Xml "fragment" And An Xml "document" ?
An XML fragment is an XML document with no single top-level root element To put it simple it is a part (fragment) of a well-formed xml document. (node) Where as a well- formed xml document must have only one root element.
Dell Boomi Most Frequently Asked Latest VB.NET Interview Questions Answers |
How Would You Implement Inheritance Using Vb.net/c#?
When we set out to implement a class using inheritance, we must first start with an existing class from which we will derive our new subclass. This existing class, or base class, may be part of the NET system class library framework, it may be part of some other application or NET assembly, or we may create it as part of our existing application. Once we have a base class, we can then implement one or more subclasses based on that base class. Each of our subclasses will automatically have all of the methods, properties. and events of that base class including the implementation behind each method, property, and event. Our subclass can add new methods, properties, and events of its own - extending the original interface with new functionality. Additionally, a subclass can replace the methods and properties of the base class with its own new implementation - effectively overriding the original behavior and replacing it with new behaviors.
Essentially inheritance is a way of merging functionality from an existing class into our new subclass. Inheritance also defines rules for how these methods, properties, and events can be merged. In VB.NET we can use implements keyword for inheritance, while in C# we can use the sign (:: ) between subclass and baseclass.
Explain The Differences Between Server-side And Client-side Code?
Server side code executes on the server. For this to occur page has to be submitted or posted back. Events fired by the controls are executed on the server. Client side code executes in the browser of the client without submitting the page.
e.g. In ASP.NET for webcontrols like asp:button the click event of the button is executed on the server hence the event handler for the same in a part of the code-behind (server-side code). Along the server-side code events one can also attach client side events which are executed in the clients browser i.e. javascript events.
In Vb.net How To Connect Crystal Report?
Click on solution explorer window right click and add to add new item. The window will be displaced select the crystal reports we have save in any name but extension is used .rpt eg:sss.rpt.
When We Will Use Console?
Console is used only for web application.
What Are The Objects In Asp.net And Tell The Purpose Of Those Objects?
Here are 5 objects in asp.net
Response: This object is to response to other e.g.
Request: This object is request from server.
Application: This object is store global information of application.
Session: This object used store the values into variable.
Server.
How To Create Crystal Report In Vb.net With Coding?
Just configure the report data source by database.
VB was always a RAD tool and it was always user friendly for any type of user whether professional or not. It also provided many users with shortcuts and features which made this language popular among many users. It had its share of debugging and maintenance issues of course.
Compare C# And Visual Basic.net?
.NET Frame work includes two languages which are language to IL compilers and in this C# and VB.NET are provided. The importance and flexibility of these as better programming languages is still questionable. Visual basic has been updated and revised to make it object oriented whereas C has concepts from many languages such as Delphi, Java. etc and syntax from C and Java.
Explain About The Performance Of Visual Basic?
Visual basic 5 and 6 are efficient in coding the code to native or P-code depending upon the programmer. Portability is a major addition to the performance of VB.NET and the code is also small. Additional layer is provided which interprets the code and this can be avoided by using special algorithms and native code programming.
What Are The Various Open Source Tool Available For Vb.net?
When compared with the rapid development of open source tools for other languages from Microsoft (C#, dc) we can say that development of tools for VB has been slow. Mono development platform is one which is implementing VB libraries and is working on a compiler.
Describe About Visual Basic.net?
This is used in conjunction with Microsoft NET platform and is a successor to visual basic sixth version. Visual basic is used in conjunction with.NET Framework. This tool has a serious defect it is not compatible with Microsoft visual basic sixth version. It has a huge library which assists programmers.
Explain Briefly About Rapid Application Development Tool?
Rapid action development tool describes about the software development process. This tool gives flexibility in iterative development and prototype deployment. It enhances the speed of application development. It is also used for application maintenance.
What Is Versioning In .net?
main advantage of .net is versioning and solve very critical problem.
.net maintain one application with more then one version and also solve DLL HELL problem because it can run same application with different version at a same time[.Net have an Assembly. It gives the Portable Execution file.The main use of assembly is to maintain the Dll and exe's.
So sometimes the programmer confused to which is modified code.That time the assembly provide the Version.That is called versioning. It is start from 1.0.*,.......]
What Are The Properties Should Be Given To Set Method?
Class Class1
' Define a local variable to store the property value.
[Ans: Only One Property.
example
Private PropertyValue As String
' Define the property.
Public Property Prop1() As String
Get
' The Get property procedure is called when the value
' of a property is retrieved.
Return PropertyValue
End Get
Set(ByVal Value As String)
' The Set property procedure is called when the value
' of a property is modified.
' The value to be assigned is passed in the
' argument to Set.
PropertyValue = Value
End Set
End Property
End Class
How Can We Assigns Items On Listbox So That It Will Show Rowwise Please Write The Code For It.
Lisbox1.Items.Add "Prashant"
Lisbox1.Items.Add "Chinchu"
Lisbox1.Items.Add "Pallavi"
Lisbox1.Items.Add "Suresh"
Lisbox1.Items.Add "Polika"
Post a Comment