0% found this document useful (0 votes)
3 views2 pages

VB NET Long Answers

The document outlines key concepts in VB.NET, including the CLR execution model, various controls like TreeView, ComboBox, and RichTextBox, and exception handling techniques. It also discusses ADO.NET components, connection objects, date functions, and the differences between DataSet and DataReader. Additionally, it distinguishes between procedures and functions, and describes the Common Type System (CTS) and the ProgressBar control.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views2 pages

VB NET Long Answers

The document outlines key concepts in VB.NET, including the CLR execution model, various controls like TreeView, ComboBox, and RichTextBox, and exception handling techniques. It also discusses ADO.NET components, connection objects, date functions, and the differences between DataSet and DataReader. Additionally, it distinguishes between procedures and functions, and describes the Common Type System (CTS) and the ProgressBar control.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

VB.

NET LONG ANSWERS

1. CLR Execution Model:

CLR executes .NET programs. Code is compiled into MSIL, then JIT converts it to machine code.
Features include memory management, security, exception handling.

2. TreeView Control:

Displays hierarchical data. Properties: Nodes, SelectedNode. Methods: Add(), ExpandAll().

3. ComboBox Control:

Combination of TextBox and ListBox. Properties: Items, SelectedIndex. Methods: Add(), Remove().

4. RichTextBox:

Advanced textbox with formatting. Methods: AppendText(), Undo().

5. TextBox:

Accepts user input. Properties: Text, MaxLength. Methods: Clear(), Focus().

6. ImageList:

Stores images. Methods: Add(), Remove().

7. ListBox:

Displays list items. Properties: Items. Methods: Add(), Remove().

8. DialogBox:

OpenFileDialog, SaveFileDialog, FontDialog, ColorDialog.

9. Exception Handling:

Try...Catch...Finally used to handle runtime errors.

10. [Link]:

Components: Connection, Command, DataReader, DataSet.

11. Connection Object:

Used to connect DB. Methods: Open(), Close().

12. Date Functions:

Now(), DateAdd(), DateDiff().


13-14. .NET & CLR:

Same as Q1.

15. ProgressBar:

Shows task progress. Properties: Min, Max, Value.

16. Procedure vs Function:

Procedure = no return, Function = returns value.

17. CTS:

Defines data types in .NET.

18. DataSet vs DataReader:

DataSet = disconnected, DataReader = connected.

You might also like