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

How to write a bar code scanner system?

I am writing a barcode scanner system.

First, I print barcodes like QR Code and Data Matrix on paper. Then scan these barcodes with a hardware barcode scanner. This scanner must read the barcode and verify its validity. Some organizers may want to verify ticket validity offline or online..

Some questions:

-Do I need a windows based app (so do something with windows forms?)?

- the scanned data from the scanner is sent to a PC...can I with VB.NET receive that data and pass it to an online app/server to verify the validity realtime?

- any other things I should consider?

Basically I want to avoid installing client software, is it possible?

How do you Convert string to integer in vb net?

Dim aInt as Integer = 5

Dim aStr As String = String.Empty

aStr = System.Convert.ToString(aInt)

What are three characteristics of user centered design?

User-centered design (UCD) is an approach to design that focuses on understanding the needs and goals of the users and creating solutions that meet those needs. Three characteristics of user-centered design are:

Empathy: User-centered design requires designers to empathize with the users to understand their needs, goals, motivations, and challenges. Designers must put themselves in the shoes of the users and see the world from their perspective.

Iteration: User-centered design is an iterative process that involves prototyping, testing, and refining the design based on feedback from the users. Designers must be willing to iterate and make changes to the design based on user feedback.

Usability: User-centered design focuses on creating products that are easy to use and efficient. The design should be intuitive, with clear and concise instructions, and should minimize the cognitive load on the user. Designers must consider the user's physical, cognitive, and emotional abilities when creating the design.

Overall, user-centered design places the user at the center of the design process and prioritizes their needs and goals over other factors. By focusing on empathy, iteration, and usability, designers can create products that are more effective, efficient, and satisfying for the users.

How can you get content of div in VB.Net?

I want to get the content of div with its class with VB.Net but i don't know how to do it. i show you a simple example to notice what my question is.

<div class="whatever">Text</div>

I opened a website and I found above code in its source code. and i want the content of this div code for my text box or label ...

Is vb.net platform independent?

yes,it is platform independent because it uses CLR(common language runtime) for compiling the codes and then the code can be run on any platform.

How do you create notepad in vbnet?

Create a new form and put a textbox in it. Et voila.

You can add extra things like change font, size, word wrap, find/replace, print etc.. but bear in mind that you cannot change colour in a textbox. Well, you can but if you want to save it - you need to save it as a .RTF document so it saves the styles (bold, italic, colour etc.) - so i would use a richtextbox instead of a textbox.

How do you write a vb script code to Reverse an array?

Dim x(1)

x(0) = 5

x(1) = 2

Dim NewArray(1)

For xx = 0 To x.Length -1

Dim item As Integer

item=xx-x.Length -1

item=item * -1

NewArray(xx) = x(item)

Next

Their you go at first the original array was 5,2

after you run the loop it will be 2,5.

What is difference between option button and check box?

In Check box, you can select multiple options. In Option Button (also known as Radio button), you can select only one option at a time.

A Check box is rather similar to an option button. The Value property of both the controls is tested to check the current state. Check boxes are valid as a single control whereas a single option button is probably counts- intuitive.Check boxes are not mutually exclusive.

What is IPEndPoint?

Represents a network endpoint as an IP address and a port number.

Inheritance Hierarchy

System.Object

System.Net.EndPoint

System.Net.IPEndPoint

Namespace: System.Net

Assembly: System (in System.dll)

How do you instantiate in vbnet?

dim obj as object

obj = new object();

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

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.

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.

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"