Create A Console Application That Lets A User Enter 20 Names And Then It Sorts Them Out Alphabetically In Order?

Mar 25, 2012

I need to create a console application that lets a user enter 20 names and then it sorts them out alphabetically in order and then displays them.

Module Module1
Sub Main()
Const names As Integer = 20
Dim index As Integer

[code]....

View 2 Replies


ADVERTISEMENT

VS 2010 Create An Application That Lets A User Enter As Much Grades He Wants?

Oct 5, 2011

I have to create an application that lets a user enter as much grades he wants. The grades are between 0 and 100 and they can't be negative. Whenever the user type -1, the application is done and it shows the average of the grades, the lowest and the highest grades.I absolutly have no idea where to start but i must be using loop/do/while.

View 4 Replies

Create A Console Application Which Would Read Input From User?

May 27, 2011

How to create a console application which would read input from user and assign the input to a variable? The problem is, I need to enter several words on one line separated with blank spaces like "ab cd efg" and then assign ab to one variable, cd to another variable and efg to another variable. Also the entered words can be any lenght.

View 3 Replies

Create A Small Application That Will Force User To Enter An Even Number?

Oct 5, 2011

I need to create a small application that will force a user to enter an even number but i MUST use a loop. Here's what i've come up with:

Quote:

Dim bynombrepair As Byte
bynombrepair = InputBox("Entrez un nombre pair")
If bynombrepair Mod 2 = 0 Then

[Code]....

View 1 Replies

Create An Application That Allows A User To Enter Three Test Scores Each For Three Students?

Sep 30, 2009

I am a new user to VB and I am having difficulty with one of my assignments. The assignment states that to create an application that allows a user to enter three test scores each for three students. The application should calculate each student's average test score and assign a letter grade. The application should prompt the user for each student's name and three test scores.

[Code]...

View 3 Replies

Create An Application That Allows User To Enter Number Of Tickets Sold

Apr 16, 2012

i'm having a bit of a hard time on setting up the calculations.There are three seating categories at a stadium. For a baseball game, Class A seats cost $15, Class B seats cost $12, and Class C seats cost $9. Create an application that allows the user to enter the number of tickets sold for each class and the total revenue.

View 3 Replies

Create A Program That Lets The User Open A Text Document?

Apr 9, 2009

Ok i need to create a program that lets the user open a text document and lets him do the following. This is with Visual Basics 2008.

Count Characters
Count Lines
Count Words
Count All

I don't know how to get my program to count just individual words and i have no idea how to get it to do all 3.

[Code]...

View 5 Replies

Create An Application That Prompts The User To Enter Today's Sales For Five Stores?

Feb 18, 2009

I have to create an application that prompts the user to enter today's sales for five stores. The program should then display a simple bar graph comparing each store's sales. Create each bar in the bar graph by displaying a row of asterisks (*) in a list box. Each asterisk in a bar represents $100 in sales. I have to make two different versions of this program. One using a "do while ... loop" and the other using a "for ... next loop". Could someone give me a hint on how to do this. I the "do while ... loop" version and I have had some problems, especially with converting the numbers to asterisks.

Private Sub btnDisplay_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDisplay.Click
'Clear everything

[code]....

View 5 Replies

Create An Application That Prompts The User To Enter Today's Sales For Five Stores?

Jun 5, 2011

this is my first vb. and i have assignment and i have been trying for hours but i couldn't do it right I have to create an application that prompts the user to enter today's sales for five stores. Create a loop to prompt for an amount for the first store using an inputbox and do not exit until you have good data. The inputs cannot be negative or greater than 5000, but may contain decimal values. The program should then display a simple bar graph corresponding to the amount of sales using a row of asterisks (*) in a listbox. Each asterisk represents $100 in sales. Display the total of all the stores by looping this process for each store.

[Code]...

View 2 Replies

Names Sorting Alphabetically

Sep 21, 2009

This program i am working needs to be sorted alphabetically but right now it just sorts by the length of the names in descending order. i think the problem is my if statement. [Code]

View 4 Replies

Linq - .NET Order Dictionary Alphabetically?

Mar 14, 2012

I have a Dictinary(Of String, Item) and I'm trying to sort it into alphabetical order by the item name. I don't want to use a sorted dictinary and without it, I've having zero luck. Linq is not my strong point.

[Code]...

View 2 Replies

C# - Sorting An Array Of Folder Names Like Windows Explorer (Numerically And Alphabetically) - .NET

Jun 23, 2010

I'm killing myself and dehydrating trying to get this array to sort.I have an array containing directories generated by;Dim Folders() As String = Directory.GetDirectories(RootPath)

I need them to be sorted so they appear like in windows explorer in win7 / vista. -- numerically and alphabetically by folder names.The folder names contain both letters and numbers, sometimes letters only or numbers only.

[Code]...

View 2 Replies

Console Application With User Commands?

Jul 30, 2011

I want to create a console application with commands that can be entered by the user, but to make my application reconize those commands do I have to have an if statement for every command, or can I do something like this[code]...

View 1 Replies

Retain Row Attributes In A DataGridView When User Sorts By A Column?

Oct 20, 2010

I have a DataGridView, bound to a dataset. All the columns are sortable (.ColumnSortMode.Automatic). The user may change data in certain columns, although not the first ("key") column. When data gets changed on a row, I change the backcolor for that row (to show it as dirty). At some point, the user will do something with all of these changes.

My problem is that I still want the user to be able to resort the data by any of those columns. When it's sorted, though, I lose the backcolors that I changed. I do know which rows are dirty, this is just a cosmetic issue. Isn't there a way to retain those backcolors, or any other such row attribute?

View 6 Replies

Create A Program Which Will Allow The User Enter Ten Numbers?

Nov 5, 2009

5. Create a program which will allow the user enter ten numbers. The program is to count how many numbers were above 50?

View 1 Replies

Exit A Console Application When User Type Anything?

Jun 21, 2011

I have following VB.NET console application [code]...

View 3 Replies

Console Window Appear For Scheduled Application With No User Logged In?

Oct 27, 2009

I am using VB in VS 2008. I have written a program which loads data into SQL Server nightly. It is a Windows Forms application which runs well from Task Scheduler when a user is logged in. However when I try to run it when there is no user logged in, the program starts but it just sits idle.

[Code]...

View 5 Replies

Create User Which Can't Login To Console But Which Can Access Secure Folders From Remote?

Jun 14, 2009

I think it should be something related with "Local Security Policy".

View 1 Replies

Lets A User Browse And Choose A Folder?

Nov 8, 2011

Basically I need to make a program that lets a user browse and choose a folder, then I need a box that the user can then select the files to work with, then with the selected files I need to put them into a zip file. I'm trying to use a list view box but having all kinds of problems using the data in it.

View 2 Replies

Create A Program That Ask The User To Enter The Amount Of Hours Work?

Sep 22, 2009

I have to create a program that ask the user to enter the amount of hours work for 5 diferent projects in textboxes. The user have to enter the time he worked in minutes. Ex: 153, 280, 600, 130, 20... The total then is out putted into a textbox in this format "13 Hours and 35 Minutes" I'm having dificulties making the conversion and the separation from hours and minutes. I understand that the total is divided by 60, but if we fallow the above numbers the total hours comes out to 1183 / 60 = 19.71. So I'm having problems with the .71 mnts or digits... so from this total I have to output the total of in this particular format: "19 Hours and ?

View 2 Replies

Create Form Where End User Enter Folder Location For Download?

Aug 5, 2009

I currently have a program that allows users to download files into a folder of there choice. I currently have 10 different forms all with a text box to show folder location and a browse button for user to find it, but what I want to do is create a form that will appear at the start where the end user can enter the folder location so that they don't have to enter the folder path for every download they want to do. How would I go about doing this I have a textbox, browse button and an OK button but have no idea what to do next.

View 1 Replies

Develop An Application Which Sorts Text Files?

Nov 6, 2009

I need a little guidance here. What I am needing to do is develop an application which sorts text files, approximately 10 at a time.It would look something like this. (Using VBA 2008)The code I am having trouble with, is I want to be able to "load" 10 of these txt reports.I want the Sort button to trigger the application to run through each text file looking for specific keywords.

And finally, when all is said and done, I want it to export a new text file with the keywords listed that it found.I am just breaking into this and am super excited with how much I have learned so far!

View 2 Replies

Create Console Program Where User Enters A Character And Respective ASCII Value In Denary

Nov 21, 2010

The latest assignment from my teacher was to create a console program where the user enters a character and the respective ASCII value in Denary, Hexadecimal and Binary, Even Parity, Odd Parity and Hamming code is returned.I've managed to implement all of them except the latter with relative ease, I am familiar with the concept of Hamming code and can compute it easily by hand, but don't really know how to implement it as a function in my program. [code]

View 1 Replies

Write A Loop That Only Lets The User Only Click A Button 10x?

Jun 7, 2012

So basically i need to make a loop that only lets the user click it ten times then gives the answer to them.i was gonna use a DO loop that looks like this so far.

Dim counter as integer
counter = 0
Do until counter = 10
loop

and after that i'm kinda lost on what to do, i know that its needs to be if you click btnenter 10 times give the right answer and then your done.

View 3 Replies

Create A Simple Times Table Program Which Will Allow User To Enter An Integer Value

Jan 22, 2010

could anyone please help me with this1.Create a simple Times Table program which will allow the user to enter an integer value n (between 1 and 20) into a textbox. On the click of a button output to a label the n times tables. Use a For Next loop to perform the repetition.i can output them to a list box but only last one to a label ive been stuck for 3 days.

View 8 Replies

Build An Application That Will Serve As A Very Large Checklist Of Sorts?

Apr 21, 2009

I am trying to build an application using vb.net that will serve as a very large checklist of sorts. and i'm not exactly sure of the best way to do this. I considered using a database but i would need it to be self contained without having to rely on a server or internet connection

View 4 Replies

Create Console Application To Calculate 23 Numbers Of Fibonacci?

Sep 24, 2010

how to create console application to calculate 23 numbers of fibonacci?This is the script I had done but facing an issue:

Module Module1
Sub Main()
'area to declare all integer
String inputstring;

[code]....

View 3 Replies

Creating An Application Which Requires User To Enter Some Data Using Popup?

Dec 16, 2009

I am creating an application which requires user to enter some data using popup. There will be text boxes and drop down list which will be filled by the user. Once the user fills the required information and submits it using a button, the popup will dissapear. Can anyone direct me how to use Popup control to contain textbox, drop down list and buttons.

View 1 Replies

VS 2010 Looping And Input - Lets The User Select A Folder

Sep 23, 2010

I have a little situation and i am not sure of the best way to do it.

- My program lets the user select a folder

- From that folder i need to select all .png files

- One by one i need to load them into a picture box, await a button press and then go to the next image.

The above that i have typed in red is where im not sure what to do. The other steps i can do.

View 7 Replies

Create A Program Which Promps The User To Enter An Unlimited Number Of Test Scores

Jul 7, 2011

Create a program which promps the user to enter an unlimited number of test scores. The program should show the high score and the low score. You should use a loop of your choice within this program. The program should look similar to the one below:

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved