Vb Paper

Submitted by: Submitted by

Views: 191

Words: 527

Pages: 3

Category: Science and Technology

Date Submitted: 01/26/2013 04:34 AM

Report This Essay

MIS 104 Final

1. The time control is measured in milliseconds.

2. Dim randomNum As New Random

Dim num1 As Integer

Num1 = randomNum.Next (1,101)

txtNumbers.Text =Num1 & “ “

3. Private Sub firstForm (…) Handles Me.MouseMove

Me.Hide()

secondForm.Show()

4. When you increase the Home control program. It slows down the movement of the smiley face.

5. 1. Start a new program

2. Add a BindingSource control to the Form Designer. (The BindingSource control can be found in the All Windows Forms or Data groups of the Toolbox.) After you double click on the control in the ToolBox, a control named BindingSource1 appears in the component tray at the bottom of the Form Designer.

3. Go to Properties window for BindingSource1 and click on the down arrow at the right side of the DataSource property’s Settings box.

4. Click on Add Project Data Source. The Data Source Configuration Wizard appears and asks you to “Choose a Data Source Type”.

5. Select the Database icon in the Data Source Configuration Wizard and click on the Next button. The Wizard now asks you to “Choose a Database Model”.

6. Select the Dataset icon and click on the Next button. The Wizard now asks you to “Choose Your Data Connection”.

7. Click on the New Connection button. An Add Connection window.

8. If the “Data source” text box does not say “Microsoft Access Database File (OLE DB)”, click on the Change button. A Change Data Source window will appear. Select Microsoft Access Database File from the window’s list box and click on the OK button. You will be returned to the Add Connection window.

9. Click on the Browse button, navigate to and open the Database folder, double click on Megacities.accdb, and click on the OK Button. The Data Source Configuration Wizard that appeared in Step 6 reappears with the text box now containing Megacities.accdb into the program.

10. Click on the Next button. A window appears asking whether you would like to place a copy of...