answersLogoWhite

0

📱

Visual Basic Programming

Visual Basic programming involves the use of a language that allows programmers to create simple and complex applications. It is a combination of visually organizing components or controls, specifying their attributes and actions, and writing additional codes for better functionality.

903 Questions

What is the Difference between text box and input box?

picture box:

1) 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

Image Box:

1) 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 property

How do you make a password program in visual basic 6.0?

This a facility to create a password program easly provided by visual basic. This is done by different ways. one of them I illustrate it.

First of all we take a label, textbox, commandbutton and set its property as follow-

ovject property discription

Label caption Password :

Textbox text

Password char *

command button caption OK

Code for creating a simple password program-

Private Sub command1_click()

If Text1.Text=12345 Then

msgbox "Intelligent You locked the password"

Else

msgbox "You are so a idiot"

End If

End sub

When this program execute then when we enter a password into textbox then if the password is 12345 then message appear in message box is " Intelligen You Breacked the password" otherwise message appear in message box " You are so idiot".

What is timer control in visual basic?

A timer is very useful in visual basic. It can be used to repeat events again and again at set intervals. Using other triggers, such as user inputs or button clicks, or even other timers, the timer can be turned off/on, and other properties such as the timer interval can be changed. It is a key feature of the language.

What are the differences between checkbox and optionbutton in visual basic 6?

I do not believe there's an element called : OptionButton

anyways if you mean diffrence between Checkboxs and RadioButtons

then:

In radiobuttons u can add more than one radiobutton, and when there r alot the user can only choose 1 of them

In checkboxs the user can choose all of them, or 5 or 4 or whatever he wants

E R Diagram Of Restaurant Management System?

Need the E-R diagram for hostel managment system

hostel management is one of the best mini project for engineering students.

so we need an er diagram to enhance the database projects

Why reading is a largely visual process?

normally, good eyesight is required in good reading.

What is the procedure to built a class and object in visual basic?

whate is the procedure to built a class and object in visual basic.?

How to use Copyfile option in Visual Basic 6.0 to create a backup of database?

First of all, gross, Visual Basic. If you are trying to write a script to do db backup, then you are going to either need to look for something open source or write it yourself. You can also just use MySQL command line using the mysqldump command.

mysqldump name_of_database > name_of_file.sql

How do you get the output like 1 23 456 in vbscript?

you want to output "1 23 456" in VB

If you are making a console application then do the following:

console.writeline("1 23 456")

console.read() 'This command makes the console pause until a button is clicked

If you are using a windows form application, open the form.load sub ( by double clicking on it ) and add the following code:

msgbox("1 23 456")

Anyways theres another way, by adding a label and either changing its Text property in the properties bar or adding the following code into form.load sub:

label1.text = "1 23 456"

I hope that helped.

What is a doc file?

A document file format is a text or binary file format for storing documents on a storage media, especially for use by computers. There currently exist a multitude of incompatible document file formats.

A rough consensus has been established that XML is to be the basis for future document file formats. Examples of XML-based open standards are DocBook, XHTML, and, more recently, the ISO/IEC standards OpenDocument (ISO 26300:2006) and Office Open XML (ISO 29500:2008).

In 1993, the ITU-T tried to establish a standard for document file formats, known as the Open Document Architecture (ODA) which was supposed to replace all competing document file formats. It is described in ITU-T documents T.411 through T.421, which are equivalent to ISO 8613. It did not succeed.

Page description languages such as PostScript and PDF have become the de facto standard for documents that a typical user should only be able to create and read, not edit. In 2001, PDF became an international ISO/IEC standard (ISO 15930-1:2001, ISO 19005-1:2005, ISO 32000-1:2008).

HTML is the most used and open international standard and it is also used as document file format. It has also become ISO/IEC standard (ISO 15445:2000).

The default binary file format used by Microsoft Word (.doc) has become widespread de facto standard for office documents, but it is a proprietary format and is not always fully supported by other word processors.

A program to find the sum of n numbers in visual basic?

//Script by aakash30jan

<script type="text/vbscript">

For count = 1 to 10

sum=sum+count

document.write("<br />" & sum)

Next

</script>

Which Compiler is used in visual basic?

visual basic has it's own compiler that Microsoft developed for it I think it was called vbcomp

VB Script program to display multiplication of two matrices?

<html>

<head>

</head>

<script language="VBscript">

sub fact(n)

dim f,i

f=1

i=1

do while(i<=cint(n))

f=cint(f)*cint(i)

i=i+1

loop

document.write("<br>Factorial of"&n&"is"&f)

end sub

</script>

<body>

<form name="form1" method="post" action=" ">

<input name="n" type="text" id="n">

<input name="Button" type="button" onClick="fact(form1.n.value)" value="Factorial">

</form>

</body>

</html>

How do you make a quiz in visual basic?

there could be many ways to make a quiz in vb before you do anything you have to become advanced at buttons like literally advanced

RECE


My own Edit:
you could use
Form.show

also you could use
form.hide

How do you differentiate visual basic and basic?

Visual Basic includes some object orientated aspects, basic was strictly procedural.

Why does graphical user interface programming often use event driven programming paradigm?

It's not a case of often, but always. Whenever your application is idle the application's idle loop is executed. By default, the idle loop simply processes system messages which may result in your application becoming active. For instance, as you pass the mouse over your application window, the operating system generates and posts hundreds of mouse movement messages which are passed to the message queue. The application's idle loop will process these messages and call the appropriate event handlers. Mouse movements may not be relevant to your application but they must be processed nonetheless. When the message queue is empty, the idle loop begins background processing. By default this does nothing except peak at the message queue looking for new messages for your application, but it can be overridden to perform any tasks that take your fancy (such as housekeeping tasks).

However, when the user clicks an object in your window (such as a command button), you would rightly expect your application to respond to that particular event. Thus the appropriate event handler is executed and control eventually returns to the idle loop again.

Problems occur when the event handler executes a highly-intensive task and therefore cannot yield control to the idle loop. This isn't a major problem if the task would only take a few seconds at most to complete, but if it takes any appreciable time this presents a serious problem. If your application does not process messages that are intended for it, then those messages will prevent other programs from gaining access to their messages. And as the message queue fills up, the system, grinds to a halt. Higher priority messages will still get through but the system will quickly become unresponsive.

To address this problem, your application must provide a user-defined message handler that can be periodically called by your intensive tasks, preferably two or more times every second to keep the system as responsive as possible. This message handler needn't be complex, but it must return a value to the caller to signal if the caller should abort or continue processing. For instance, if the user chooses to shut down the system mid-process, your intensive task must be able abort gracefully before the application itself can exit gracefully. This means your message handler must save and remove the message from the queue and signal the process to abort. The message handler may be called several times before the process finally aborts, but when it does control can pass to the idle loop which will finally deal with the message that caused the abort, thus permitting a graceful exit.

Tools used in visual basic and their meaning?

Given the fact there are around 50 default controls provided within the toolbox of visual studio, each with a highly in depth range of properties, events, methods and parameters you should probably focus your question on which individual tool you wish to know about.

It is probably possible to write an eight page laymans description for each control and it's uses accross the vb spectrum, and that would be without delving into the newer WPF uses of, say, a ListBox.

What is the Difference between combo box and list box in visual basic?

  • LISTBOX CONTROL

    COMBOX CONTROL

    A LISTBOX CONTROL displays a list of items from which theuser can select one or more. If the number of items exceeds the number that can be displayed, a scroll bar is automatically added to the List Box control.

    a list box is appropriate when you want to limit input to what is on the list

    choices not on the list can be typed in this field.

    A COMBOX CONTROL combines the features of a text box and a list box. This control allows the user to select an item either by typing text into the combo box, or by selecting it from the list.

    a combo box is appropriate when there is a list of suggested choices

    A combo box contains an edit field.