Makin An Inventory Form With Parallel Arrays
Apr 28, 2010
I posted earlier about making a form with an inventory menu I realized i wasnt doing it the wrong way I am suppose to use 3 parallel arrays for Inventory Name, Quantity on hand, and Price. And then Im suppose to make four buttons recieve, ship, value, and print and it suppose to update the new quantity on hand text box this homework is really getting on my nerves Ive been tryin to do it for 2 weeks this is what i have
[Code]...
View 2 Replies
ADVERTISEMENT
Dec 10, 2009
My assignment is to have a user enter in big integers using what i think is two parallel arrays. I got this far but now im stuck. I think i need to actually convert the text box input into an array but i do not know how to do that. I am all over the place in this project.
'Created/ Revised by: Jessica Falcetta
'Cap 204 Final Project: Big Integer Project
'Project Purpose: To calculate large integers through parallel arrays
[CODE]...
View 5 Replies
Jan 29, 2009
I have to make this program to keep track of product description, ID, price, and quantity. I am manually coding some and the user can input products as well. I want to display the product and it's ID in a listbox and put price and quantity in seperate labels. [code] My question is how do i keep the array index numbers sorted so when i click an item in the listbox it will show the price and quantity in the labels for them?
View 1 Replies
Mar 13, 2012
how can i sort too parallel arrays?
[Code]....
Those are the two arrays now when i try array.sort(strflavor,decamountsold) or array.sort(decamountsold,strflavor) they are not arraigned properly. I am trying to get them to sort by which flavor sold the least and which flavor sold the most. However when i sort them, the flavors are not matching up with the decimal values.
View 8 Replies
Nov 5, 2011
I just learned basic arrays, I'm writing a program the allows Professor Carver to display a grade based on the number of possible points he enters in the inputbox (strMax). Then the user enters the points he earned in the textbox (dblPoints)
Then I solve the percentage. dblResults = dblPoints/CDbl(strMax) The first step is to store the minimum percentage points in one dimensional array. I did that. The second step is to store the grades in one dimensional array. I did that. The arrays should be parallel arrays. Having trouble with it It then should display the corresponding grade from the strGrades array Not done. I'm having trouble to display arrays in that are parallel.
[Code]...
View 6 Replies
Feb 3, 2010
getting started with creating an index search for parallel arrays. When the user enters the specific "code", and presses enter, the information in the other arrays should be displayed based on its matching index. I'm pretty sure I use "For i = " but I'm lost. I have my arrays set up like this:
Dim code(9) As String
code(0) = "A"
code(1) = "H"
[code]....
View 3 Replies
Jan 4, 2012
In Visual Basic 2005 is it possible to parallel sort three or maybe four arrays? I have a function that is trying to accomplish this but it only parallel sorts the second array with the Array that it is being sorted with. Here is the code
Sub ParallelListBoxSort(ByVal byList As ListBox, ByVal otherLists() As ListBox)
Dim ii As Integer = 0
Dim a As Integer = otherLists.Length
[Code]....
'listToArray' is just a function that converts a list to an 1-Dimensional array and 'setArrayToListCollection' just puts the array back into the appropriated list.
View 2 Replies
Jun 22, 2010
Ive been working on a checkbook application for my visual basic class and I'm a little stumped..
To preface, the values I need to mess with include:
transaction type (checking or deposit)
DTP
check number ("dep" if deposit)
[Code].....
Below is the Change I need to make to my program...
"You will create a set of either collections or arrays (your choice but use just one or the other--don't mix them) scoped at the form/module level. These structures will store all of the input data needed for your checkbook transactions except for the running balance which will continue to be stored in a single module-scoped variable. That is, every input that users made in Assignment 3 will be stored in one of these arrays but you will not store any calculated values. You will not store the transaction type but will store "Dep" or a number in the check number array which will also indicate the transaction type. The Record button will add the current sale's data to these structures using either ReDim for the arrays or an appropriate technique for the collections. (You must ReDim your arrays so that the have just enough space for the data that is in them. Declaring the arrays with a large size with no facility to resize them is not allowed. Don't forget to use the ReDim Preserve syntax to retain the existing array contents when you resize them.)"
I don't know if I make a single array for all the values or if I create a separate one for each. If its a separate one for each I don't understand why an array is needed.
View 9 Replies
Jul 27, 2011
The exercise prior to this one had us use two parallel arrays that store a letter grade (A, B, C, D, F) and the minimum points needed for each grade. The user input the points earned by the student and the program shows their letter grade. It took a minute, but I got that one done, and it does what it's supposed to do.This exercise has us modify that exercise to ask for the (via InputBox in MainForm Load event) total points possible. The grade is then determined by percentage of the total points possible. For instance, if x is the user input, an "A" would be 90% of x.
View 4 Replies
May 25, 2011
I have 7 parallel arrays, and I would like to sort them all by two of them. That is I have the following arrays...
_weeknum()
[code]....
View 9 Replies
Aug 26, 2010
I need to know how to code a windows application program that will make it possible for customers to place orders online. Customers will have access to menu using a combobox,containing items available. The text file contains all menu items and the price of each item, as well as number of orders for each item. The file is created with a notepad containing 5 menu items.the first line contains the name of the item,second line contains the price and the third contains total number of orders which initially is 0. So far so good i know how to check if the file exists or not,and populating the the combobox, but ther's an instruction where i have ensure that the number of menu items does not exceed 100, and if so,should display an error message.and should validate to ensure that the total number of orders is>0,if not,re display the input box with a suitable message. Then on the save(menustrip),should write the whole textfile from arrays in memory,clear the combobox,display the message. Also has a process payment button where it should read through the arrays with a for next loop,then shouold write function called amount due,which recieves the total orders as a single data type,where the value for amount due is calculated as total orders*price.CAN SOMEONE PLEASE HELP ME OUT SINCE IM A BEGINNER IN VB2005.
View 1 Replies
Jan 31, 2010
I have to write a program using 2 parallel arrays representing grade point and grades. The grade points range from 0 to 500, however, we are only to use the minimum points per each letter grade in " points " array. This is shown in the code below. You then enter a number from 1 to 500, representing the grade points, and in turn it spits out your letter grade.My problem is this. When I enter a number, say 200, I get a letter " D " grade instead of an " F " grade. It appears that every number range I enter gives me one letter grade less than what it is supposed to be. Also, any number 450 to 500, representing an " A " grade does not even register in my Grades Label.
[Code]...
View 7 Replies
Feb 19, 2011
i m trying to develop a billing sw using vb.net as front end and ms sql as back end. i 'll need two tables for this. So, how can i design avb.net form for this purpose.... means what tools should be used for item entries
View 2 Replies
Apr 10, 2009
i'm trying to figure out how to emulate the grid in this picture:[URL]...Is this just a list view with column headers? also how would i go about making the actual grid lines, the normal list view is just white space usually.
View 2 Replies
Jan 16, 2012
I have a service that scans network folders using a parallel.for method. However recently I am finding if I stop the service then while windows says the service is stopped the process is still running in task manager. However it is at 0 cpu and the memory does not change. If I try and end the task (even a force in command prompt) it just says access denied and i have to reboot the server. What would be the best way to make sure everything terminates? I thought of adding a global Boolean that in the stop procedure it turns true and part of my parallel code will check for that and call s.stop.
View 1 Replies
Mar 17, 2012
I have been staring at a blank screen for over an hour trying to figure out the best way to build this app. We have a warehouse with consumables. These consumables are stored on racks that are three rows high and 15 columns long. I need to display the contents of these racks with the following; Item nameUnit quantityUnit expiration date
Now while this in itself would be a simple thing, I need to . Take a look at this image, the lower portion of the image shows basically what I want to display as far as the form goes. Instead of the "Row 1-1-1" text, I want to show the item, qty and exp. There are multiple rows. It should also be noted that each location may have more than one item stored in it, and there might not be anything stored in it. So I guess my question is, from a design point, is it better to create a small table for each location and then join those tables to a main "Row" table since there will only be a single row displayed on the form at a time? How would it be possible to keep the data properly ordered from a coding perspective? How can I ensure that each storage location remains static unless the item is moved?
View 14 Replies
Dec 17, 2010
Anyone ever set anything up to keep track of inventory?I need to check 1 time a month:
-Printers
-Barcode scanners
-labels
Am I just best to use Excel or is there better options?I need to keep track of repairs, part replacements, and orders.
View 3 Replies
Jul 20, 2011
I am having problems with passing values from form to form. in the first form I am trying to figure out what the user chooses and according to the choice - pass values for the array in the second form. there are 3 different sets of values for an array and it depends on the user's choice- which array got to be used.
View 8 Replies
May 9, 2010
In VB6 I load a recordset containg all of the records (6 fields per record)in a table into an XArray and then manipulate the records in the array and then write them back to the original table. The array issorted by the first field (1 to maybe 8000 or more) I need to find records in the array by an ID field and then move them (because of some external criteria that happens many times) from say number 400 to number 375. Then all of the other records between 375 and 399 were renumbered up 1 to fill the gaps left by the move.
The XArray worked well as it could find and also move to a next record easily to facilitate the revisions to each record quickly. Everything is done in VB6 in code and nothing visual needs to be shown to the user until say 2000 of these external changes are complete. What is the best, most efficient way to do this in the .Net framework in VB2010. Datasets, Dataviews. tableadapters, arrays. enums ?
View 3 Replies
Sep 21, 2010
Date Used
QtyUsed A
09/01/10
5
09/15/10
6
PurchaseDate
QtyPurchase
QtyUsed
QtyOnHand
07/01/10
8
11
-3
08/09/10
9
I have two datagrids, one show Item purchase and the other Usage. I have total the QtyUsed column which I place the total on the 1st row as 11, I would like it to show 8 and show the reminder on the next row and calculate the QtyonHand. Below is the code I've tried and in work but I, think I need to kind of loop to drop to the next row. I had to place the number 1 for i to get the second row, but there may be many more rows. Not sure this is clear.
Private Function Qused()
As Double
'Usage(QtyUsed)
Dim QU As
Double = 0
[Code] .....
View 4 Replies
Mar 13, 2009
I am trying to develop a simple inventory system. I now have all the database set up and would like to know if there is any code that I can refer to that alert users when the stock is low (e.g pop out window informing users that stock is low or change the number of stock in the database table into different colors).
View 16 Replies
Aug 26, 2011
point me in the right direction on an Object or Contol that would Create a list of items in an inventory type form
View 5 Replies
Jun 10, 2011
i'm an IT student working on a project(point of sale) but i'm unable to display the price of the item, weight and name into a textbox from an access database and to insert multiple barcode items in order to get the subtotal.
View 3 Replies
Mar 22, 2008
My program is only one form, at a certain point I want the form to reload, and have all the variables and arrays be reset? I am able to to reload the form by:
Dim frm As Form
frm = New frmMain
frm.Show()
But the original form still stays open? My program is a version of blackjack. when who won or lost is figured out i want all the cards to clear (held in an array of picture boxes) I have random numbers generated (also put into an array) each random number then finds the image of the card it belongs too and then places it into the array of picture boxes. How to reset the arrays so I thought maybe trying to just reload the form would work?
View 4 Replies
Nov 22, 2009
SI have a form and on submit I need the following variables stored in array.
Dim OrderName, OrderNumber, OrderSize, OrderQuantity, OrderAddOn, OrderEachPrice, OrderTotal As String
So pretty much its an order a customer will be making and every time a new order is placed, a new array will be made.
Example:
OrderName = TextBox1.Text was Sean
OrderNumber = TextBox2.Text was 123456
OrderSize = TextBox3.Text was Large
OrderQuantity = TextBox4.Text was 2
OrderAddOn = TextBox5.Text was Pocket
OrderEachPrice = TextBox6.Text was 10
OrderTotal = TextBox7.Text was 20.00
On submit a new array would be created and would be something like this:
Dim ArrayName(,) As String = {{"Sean", "123456", "Large", "2", "Pocket", "10", "20.00"}}
BUT a new array has to be created each time the submit is clicked.
View 6 Replies
Feb 2, 2010
I have a VB.net console app and I am opening a function in a dll written in fortran. I am passing 3 arrays through the function by reference. When they come back out the otherside they ahve all tunred to arrays of only one element And that element is 0.I read on the internet somewhere that when doing this kind of thing it is a good idea to only pass the first element of the array into the function.I tried changing my function declaration to accepting single elements rather than single dimensional arrays, and now the arrays are the same length before and after the function call, but they don't seem to be changing at all, so i'm not sure that this is working
View 1 Replies
Jan 17, 2009
I need to know how to develop an inventory system using vb.net with msaccess
View 1 Replies
Nov 1, 2009
I am newbie programmer and I have one query for inventory control system. Initially I was planning to develop a stand-alone application, but then client added one more requirement. He wants his application should run on server, so that he can access it from anywhere in the world. Thus, I am unable to decide whether to go for stand-alone application or web application. How should I do it? How others do it?
View 2 Replies
Jun 22, 2010
Getting paths of files in recycle bin ... but after that introduction of code apear a error. So lets get into place.Before introduce the code, to run an aplication a simple write Shell(path)... now with the import of Shell32 (reference of Microsoft shell controls and automization - Type COM) the shell command doesn't work.what do i have to change so i can execute a file again?TcoUpLoad (work with Vb6 and VbNet)
View 7 Replies
Aug 31, 2009
I am programing a basic P.O.S. (Point of Sale) system, ad am looking for the best way to save Inventory objects. The object contains a few Singles and Strings (Such as barcode, name, price...ect). Assuming the user could possibly input thousands of such items, what is the best way to store and handle these?
My first, and simplest thought, is to add each inventory Item to an ArrayList, then once the user saves, or closes, the ArrayList prints each object to a text file, then when the program opens it reads the text file to re-populate the Array list. However, this seems very un-efficient (I assume). Would it be better to use an excell file or a Database (I know almost nothing about databases, but I can learn), or something completely different?
View 4 Replies