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

Where can you get a Jetbrains ReSharper discount?

The best place to check for Jetbrains discount is the Jetbrains website. The company often offers discounts and specials, especially for the those starting a software business.

What is the first rule in a structured loop?

First rule - you never talk about first rule of a structured loop.

Haha i kid. It's to ensure that it will end cleanly and not run infinitely.

How to display the text box value in another form using VB.NET?

You can display a textbox value in another form using Vb.NET. Simply by inputing this line of code:

'You can put this code anywhere under a Private Sub or Sub'

'I Will use an example of a textbox named "testabc" and "othertextacbc

TestAbc.Text = frmMain.OtherTextAbc.Text

'You can replace the "frmMain with the form you are trying to access.

Can you fix vbnet code?

yes, but need to check more details about that.

Print 1-10 numbers using while loop?

public static void main(String args){

int counter = 0; //initialize the counter variable to 0

while (counter < 10){ //while the counter variable is less than 10...

counter ++; //increase the counter variable by 1

System.out.println(counter); //print the counter variable

}

}

Why are home row key important?

It is the line of keys that you place your fingers on when typing. This is a way that most people type fastly.

Fibonacci series program in vb.net?

This is not a homework board. I will give you a rough algorithm in C#

int firstnum= 1;
int finalnum = 1;

int nextNumber;

System.Console.Write(finalnum + " ");

while (finalnum < 50)
{
System.Console.Write(finalnum + " ");

nextNumber = finalnum + firstnum;

firstnum= finalnum ;
finalnum = nextNumber;
}

What are visual disturbances?

Visual disturbances are abnormalities of sight.

Use of Interlocked class in vb. net?

The Interlocked methods protect against errors that can occur when the scheduler switches contexts while a thread is updating a variable that can be accessed by other threads. The members of this class do not throw exceptions.

[Note: The System.Threading.Interlocked.Increment(System.Int32@) method and its counterpart, System.Threading.Interlocked.Decrement(System.Int32@), increment or decrement a variable and store the resulting value, as an atomic operation.

The System.Threading.Interlocked.Exchange(System.Int32@,System.Int32) method atomically exchanges the values of the specified variables. The System.Threading.Interlocked.CompareExchange(System.Int32@,System.Int32,System.Int32) method provides an atomic operation that compares two values and stores a third value in one of the variables, based on the outcome of the comparison.

Which of these is used to open an database?

Depends on what kind of database you are opening. I only know of OLEDB (Access) database.

Dim conn as New System.Data.OledbConnection

conn.ConnectionString="C:\a.mdb"

conn.Cpen()

'code goes here

conn.Close()

That's how you open an database.

How do you insert image in menu using net?

Select the picturebox and look in the properties window. Browse in the "image" property.

What is full form of SSDD?

If you mean in computer technology it's a term used to describe an older and largely unused format of Floppy disks "Single sided, double density" disks.

It could also mean "Same sh*t, different day" depending on whom you ask.

What are the visual symptoms of tabes dorsalis?

Visual symptoms are quite common and include double vision, blurred vision, narrowed field of vision and finally blindness. The pupils are characteristically small and non-reactive to light.

What are shared classes in net?

Publicly defined classes

eg, "Public class"

Write a program to print odd numbers In vbnet between 51 to 100?

#include<stdio.h>

#include<conio.h>

void main()

{

int i,j;

for(i=51;i<100;i=i+2)

{

printf("%d", i);

}

getch();

}

What is an instance in vbnet?

An instance in VBNet is the same as an instance in any other language; it is the realisation of a type. In object-oriented languages, like VBNet, we say that an object is an instance of a class, where the class defines the object's type.

Difference between adodb and adodc?

Very simple difference between adodc and adodb is "C" and "B".. he he he kidding... adodc is a data control and adodb is a class library, adodc good to use but some time it produce error for "multiple operation". With adodb can data bound dynamically, other hand can say if u r making big software so use ADODB and use ADODC is suitable for small projects.

Explain why naming encapsulation are important for developing large?

The ability to make changes in your code without breaking the code of all others who use your code is a key benefit of encapsulation. You should always hide implementation details. To elaborate, you must always have your variables as private and then have a set of public methods that others can use to access your variables. Since the methods are public anyone can access them, but since they are in your class you can ensure that the code works the way that is best for you. So in a situation that you want to alter your code, all you have to do is modify your methods. No one gets hurt because i am just using your method names in my code and the code inside your method doesnt bother me much.

If you want maintainability, flexibility, and extensibility (and I guess, you do), your design must include encapsulation. How do you do that?

• Keep instance variables protected (with an access modifier, mostly private).

• Make public accessor methods, and force calling code to use those methods rather than directly accessing the instance variable.

• For the methods, use the JavaBeans naming convention of set and get.

What is relationship between process and thread?

Process --1------------m-- Threads

1 process to many threads

Bring up your Task Manager (if you are using a windows), Performance tap, you can see the number of process and the number of threads, usually the number of threads is a lot higher than the number of processes.