Write a function called numWeeks that takes an integer parameter representing a number of days and returns an integer that is the number of whole weeks in that number of days. For example, if the parameter was 25, the function would return 3, because there are three whole weeks in 25 days. If the parameter is 0 or negative, the
You have a command button, cmdCalc,a text box, txtMonth, and a list box, 1stOutput. Write a Sub procedure that takes a single parameter, multiplies it by 12, and then displays the result on 1stOutput. Write code for the button's click event to call your Sub, passing the value in txtMonth.
You have a form with three text boxes,txtNumber,txtSentence,and txtBoxOut, and a command button, cmdButton1. Assume the user has entered a numerical value in txtNumber and a string in txtSentence. Write the instructions such that when the button is clicked, one character from txtSentence is copied to txtBoxOut, from the positio
Why is a PC based DBMS like MS Access often suggested as a good candidate to use in story boarding/prototyping the user interface presentation screens and basic database functionality for a new database development (even though MS Access is not the final target database management system (DBMS) for implementation). Are there any
Your neighbors, Mike and Mary Phillips, have learned that you are taking a course in networking, and have asked that you assist them with the physical tasks of networking their home
Please assist me so that I can complete the assignment: Networking & Telecommunications Directions: Answer the following questions thoroughly. This assignment will cover installing basic network hardware components and the installation of a cable modem. Two useful websites that cover general information about cable modems ar
I need to create a DeleteCommand event handler in VB.NET for a DataGrid named dgQuestion that will delete the current row. Assume that the DataSet is named dsQuestion, and that the table is named tblQuestions. Assume that the key field is fldQuestionID.
Need to create 2 textboxes with label one with input of value to be converted English using CDbl and another to display the result of the calculation metric using cstr. then set the properties for output metric textbox so its Read Only. Create the Calculate Clear/reset and exit buttons on the Form. Make sure the application
Please help with the following problem involving option buttons and radio buttons. Note: The Solution cannot be opened with Visual Basic 2010. I have attached three forms for a cell phone plan. The first form that should be visible is a form to where the user will choose whether he wants an individual plan or a family pl
Create a function method named GetTimeParts. The function method should get the time of the day from the system, and return a structure having the following elements: CurrentHour, CurrentMinute, and CurrentSecond. Declare the structure, and give it the name CurrentTime. The code in the function method should get the time of day
Write a statement to create 10 instances of the form named frmMdiChildList. Store a reference to each form instance that you create in the array named frmListArray. Assume that the array has a data type of frmMdiChildList having subscripts from 0 to 9. Configure the forms so that they appear as child forms of the MDI parent form
Create an event handler to respond to a toolbar's ButtonClick event. If the index of the button is zero (0), call the procedure named OpenFile. If the index of the button is one (1), call the procedure PrintFile. Finally if the index of the button is two (2), then call the procedure named ExitSolution. Assume that the toolbar is
Create a read-write property named ValidLastName that stores a String value in the hidden variable mstrLastName. Implement the property using a Property Procedure. When the developer attempts to stores a value in the property, your code should validate that the value contains between 1 and 15 characters. If the data is not valid
Assume that the DataGridTableStyle object dgtsQuestion has four columns. Right-justify all of the columns. Hide the first column. Set the caption of the remaining four columns to Column A, Column B, and Column C, rUse respectively. Use VB.NET programming to create and put in word document.
Using an array of DataRow objects named drArray, assume that the first field has the name fldTotal. Write a loop to examine each row in the array, and find the minimum value stored in the field named fldTotal. Store the result in the variable msngMinimum.
Attached is a form using visual basic. The user should be able to choose a class and a location of the class with the list boxes I have provided. The location and the class should show up in the third list box named list of costs. Once that is done you should click the calculate button and the price of the class should pop up
Design and write a program that computes an average score for a class's scores on a test in VB. The application will have 2 forms. The first will include a 2 column list and two buttons. The application should allow a user to enter scores until a blank student name is entered. On the first form use a list view control alon
Please write a program to calculate the amount of a waiter's tip given the amount of the bill and the percentage tip obtained via input dialog boxes. The output should be a complete sentence that reiterates the inputs and gives the resulting tip. Attached is an image of what it is supposed to look like.
Develop an application in VB.NET that allows a user to enter a stock transaction and determine the stockbroker's commission. Each transaction includes the following data: the stock name, price per share, number of shares involved, and the stockbroker's name. Assume price per share = P. The stockbrokers commission is computed
Can you help me with this study question. Thanks 1. Describe advantages and disadvantages of low-level (machine) languages v.s. high-level programming languages. Are low-level languages being used now? If yes, where and for what purposes? If not, why ?
A CSV file contains a customer's name, zipcode and amount of a sale output total sales per customer (combine double entries), total sales for each zip code, and the total for each store. Input file attached: Output: Customer 1 Customer 2 Customer 3 Customer 4 Customer 5 Total sales for 60602 Total sales fo
See the attached file. I have a multi-dimensional array that needs to have the following questions answered each by a separate button and sub or function procedure. The array is Dim Kidsinsports(10,3) " schools + sports" e.g. School 1 has 10 kids in football, 10 in basketball and 10 in volleyball. Sports are organized by
Input file containing info for 50 states Create a class state with 5 properties to hold the information about a single state and a method that calculates the density(people per square mile) of a state Create an array of state objects and write a program that requests a state's name in an inputbox and displays the state's a
Write a program to implement a cash register (see attachment). The program should have a class named Cash Register that keeps track of the balance money and allows deposits and withdrawals. The class should call an event when a negative balance is made.
Merging is the process of combining two sorted lists into a single sorted list. In some cases, one list can be appended to the other, and the new list then can be sorted. Merging using this method, however, is not always the most efficient. Write a program that merges two arrays, intX and intY, into intZ. Assume that the arr
Develop a program that demonstrates the enhanced options for the MessageBox class. Use three GroupBox controls with RadioButton controls contained within each. The first GroupBox control should contain the various options for which buttons display in the message box. The second GroupBox control should contain the various options
In order for exercise to be beneficial to the cardiovascular system, the heart rate (number of heart beats per minute) must exceed a value called the training heart rate, THR. A person's THR can be calculated from his age and resting heart rate (pulse when first awakening) as follows: a. Calculate the maximum heart rate as 2
RENT-A-MOVIE DATABASE PROJECT I want to design a relational database to store information about my store (video rental store) customers and videotapes. I think the database will improve my ability to market to and provide enhanced service to my customers. Among the things I would like to be able to do, once the database i
Problem solution in VB.NET format with using the attachment zip file to modified accordingly. The project name should be name bxnguyen. Develop Try...Catch exceptions to handle any error that can be typed by the user on your Unit 2 individual project. Change the NumericUpdown controls into TextBox. Make sure that any informa
The code will be in the VB.NET format with the project name under bxnguyen. This problem is similar to SGSG202828 with the additional information such as "Create numeric buttons for numbers input. Create "." and "+/-" buttons for real numbers and negative numbers input. " Develop a calculator that allows addition, subtra
I am having trouble creating a program in Visual Basic that prints the * in a diamond shape. Do you have any suggestions? This is what I have so far. It is an un-proportioned diamond, I need a normal diamond. What am I doing wrong? Dim i As Integer Dim y As Integer Dim j As Integer Fo