answersLogoWhite

0

📱

VBNET

VBNET is an object-oriented programming (OOP) language developed by Microsoft. It is the .NET version of Visual Basic, which supports OOP concepts like aggregation, modularity, abstraction, encapsulation, inheritance and polymorphism.

325 Questions

The disadvantages of VB.NET?

Some disadvantages of VB.NET is that it is mainly only used for software development. As an electrical engineer me and my teem often use VB.NET to make a business applications. If you want to develop games you should not spend your time learning VB.NET, instead you should spend your time learning C++ or C#.

ER Diagram for purchase and inventory system?

An ER diagram for a purchase and inventory system typically includes entities such as Product, Supplier, Customer, Order, and Inventory. The Product entity would have attributes like ProductID, Name, and Price, while Supplier would include SupplierID, Name, and ContactInfo. Relationships would show that a Supplier can provide multiple Products, a Customer can place multiple Orders, and each Order can include multiple Products, affecting Inventory levels. The Inventory entity would track quantities of each Product available, linking back to the Product entity.

Are VB.NET and .NET the same thing?

No, they are not the same thing.

.NET (dot net) refers to the .NET Framework that can be utilised by any programming language that conforms to the Common Language Infrastructure (CLI). The .NET Framework is primarily composed of the Common Language Runtime (CLR) and the Framework Class Library (FCL).

Visual Basic .NET (VB.NET) is just one of many CLI-compliant languages available. VB.NET is dependent upon .NET.

What do you call a set of characters enclosed in square bracket What is it for?

This is a character class. It matches any single character that is in the class of characters specified by the expression between the brackets

created by VBGROUP...7

Difference between Picture Box control and Image Control?

Image BoxPicture Box1) it is not act as container control

2) not use of memory to store the picture

3) editing of picture is not possible in picture box

4) Not having auto size property

5) Having stretch property1) it act as container control

2) use of memory to store the picture

3) editing of picture is possible in picture box

4) having auto size property

5) not having stretch property

How to draw entity relationship diagram?

To draw a relationship diagram, start by placing relationship at the center of the paper. Connect entities to the relationship, and branch out with the different attributes.

Difference between option button and check box?

Check boxes and option buttons give users the opportunity to choose among a list of options. The option button differs from a check box in that one can only select one option while in the latter one can select multiple options.

What is an exe in VB.NET?

.exe means: self-execution program , however the extension uses only the 'exe' of executable.

Difference between variable and constants in visual basic?

"Memory locations that hold data that can be changed during project execution are called variables; locations that hold data that cannot change during execution are called constants"

What is the extansion of VBNET?

If you save your VB.NET project, it will be a .vb file.

You can also build your program, then it becomes an executable (.exe)

What is the difference between visual studio and visual basic?

I believe visual studio is the user interface, and it not only supports visual basic but also visual c++, c#, web development etc. Visual basic, on the other hand, is a programming language.

Closing a form in VB.NET using escape key?

In your Forms designer, or in your code, set the Form.CancelButton property to your "Cancel" button. Then, when the Cancel button is pressed, or the Escape key is clicked (or the Dialog is closed) the DialogResult of the form will be "DialogResult.Cancel."

Crlf means in vbnet?

It stands for Carraige Return Line Feed. It starts a new line when you are outputting something, like in a Message box.

What are the basics of VB.NET?

here is a simple peice of code

Module Module1

Sub Main()

Dim a, b, c As Integer 'integer means number

Console.WriteLine("please enter two numbers") 'this displays text for the user

a = Console.ReadLine ' readline is when a user enters a number and hits enter

b = Console.ReadLine

Console.ReadLine()

c = a + b

Console.WriteLine(c)

Console.ReadLine()

End Sub

End Module

Visual basic code for temp conversion of fah to celsius and celsius to Fahrenheit?

01Private Sub btnConvert_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnConvert.Click02 Dim dblTemp As Double

03 Dim dblResult As Double

04 Convert.ToString(txtTemp)

05 If radCelsius.Checked = True Then

06 dblResult = (dblTemp * 9) / 5 - 32

07 ElseIf radFahrenheit.Checked = True Then

08 dblResult = (dblTemp * 5 / 9) + 32

09 End If

10 lblResult.Text = Format(dblResult, ".")

11 End Sub

What is the difference between sql and Microsoft Excel?

SQL means Structured Query Language. It is a programming language which is mainly used for maintaining databases. Excel is one of the application developed by Microsoft to do calculations, graphs using spreadsheets.

What are the differences between primary key foreign key and candidate key?

A primary key is a column which uniquely identifies the records in a table. In a broad sense, a primary key is the mixture of a unique key and an index: A column with a primary key is indexed to deliver a faster query, and doesn't allow duplicate values to ensure specific data. Most programmers recommend all tables having a primary key (and only one) to enhance the speed of queries and overall database performance. An example of a primary key may be found in a table named "departments," which might have a column named "department_number" that uniquely identifies each department in the table with a number.

A foreign key is a column (the child column ) in a table which has a corresponding relationship and a dependency on another column (the parent column ) that is usually in a different table. Parent columns can have multiple child columns, but a child column can only have one parent column. The child column is the column with the foreign key; the parent column does not have the foreign key "set" on it, but most databases require the parent column to be indexed. Foreign keys are made to link data across multiple tables. A child column cannot have a record that its parent column does not have. Say a table named "employees" has 20 employees (rows) in it. There are 4 departments in the "departments" table. All 20 employees must belong to a department, so a column in the "employees" table named "department" would point to the primary key in the "departments" table using a foreign key. Now all employees must belong to a department as specified by the "departments" table. If a department isn't specified in the "departments" table, the employee cannot be assigned to it.

A candidate key would be any key which could be used as the primary key, which means that the combination of the columns, or just the single column would create a unique key. You would then need to determine which of these candidate keys would work best as your primary key.