Click here to Skip to main content
16,015,032 members
Home / Discussions / Visual Basic
   

Visual Basic

 
General"Push" method for crystal report Pin
Mr. Cully5-May-04 1:00
Mr. Cully5-May-04 1:00 
GeneralRe: "Push" method for crystal report Pin
Dave Kreskowiak5-May-04 4:54
mveDave Kreskowiak5-May-04 4:54 
GeneralReverse Engineering for Installer Pin
Syneric4-May-04 22:30
Syneric4-May-04 22:30 
GeneralRe: Reverse Engineering for Installer Pin
Dave Kreskowiak5-May-04 4:49
mveDave Kreskowiak5-May-04 4:49 
Generalopening power point and word documents in browser from an ASP.net project (in VB) Pin
seemeen4-May-04 20:11
seemeen4-May-04 20:11 
GeneralRe: opening power point and word documents in browser from an ASP.net project (in VB) Pin
Dave Kreskowiak5-May-04 4:47
mveDave Kreskowiak5-May-04 4:47 
GeneralPlease help us about EVB Pin
bathroom4-May-04 19:50
bathroom4-May-04 19:50 
Generalmy assignment Pin
Anonymous4-May-04 14:22
Anonymous4-May-04 14:22 
Program Description:

An online retailing company, BuyFromUs.Com, offers a range of products for purchase by people who live in Australia. Orders are placed through the website, and handled by the main office in Adelaide. The products include clothing, household appliances, books, and non-perishable foods.
Information about the products is stored in one file, and information about customers’ orders is stored in a separate file. You have been asked to write a program to perform analysis of the data in the orders information file, so that BuyFromUs.Com’s Board can make informed strategic decisions to improve the profits of the company.

BuyFromUs.Com currently purchases its stock at wholesale price from a variety of suppliers, and sells the products at a higher price, thus deriving their profit from the difference in price. If a particular product is very popular, the board would consider rising the product price for future customers, to increase their profits; whereas products that are not so popular may be dropped from the offerings list.

The outcomes of the program will be various reports. The program must be able to tell the Board (user) the following information upon request:
• The number of people in each Australian state who have ordered a particular product and the total profits made from the sales of that product around Australia. (The user should enter the catalog code of the product).
• For a selected state, a list of the number of people who have ordered each product.
• The details of any customer order. This includes the customer’s name and state, as well as details about the product they have ordered.
• A list of the products that are sold by the company (according to the data files, see below), together with their three-letter catalog code.

You should assume that if a particular customer has ordered multiple products, you are to treat it as though it was a separate customer (i.e. a ‘customer’ only ever orders one item).

Data Files:
There are several data files required to be used by your program.

The products.dat file consists of Product Information records, which includes data in the following format:
• Name of product
• Catalog Code for product (a short 3-letter code, unique for each product)
• Wholesale price of product
• BuyFromUs.Com’s selling price of the product

Products have numeric codes associated with them, starting with product 1 being the first record, product 2 being contained in the second record of the file, and so on. The alphabetic catalog code is provided for humans to more easily refer to a particular product.

The orders.dat file consists of many Customer Order records, which includes data in the following order:
• Name of customer
• State of Australia (one of VIC, NSW, TAS, SA, WA, QLD, ACT, NT)
• The numeric product code of the product ordered by the customer in this order.

As with the products file, the orders in the orders.dat file are associated with order numbers starting with order 1 for the first record in the file.

Both files contain an integer as the first item in the file, stating the number of records that follow in the file. The actual records begin from the second line of the files.

GeneralRe: my assignment Pin
Dave Kreskowiak4-May-04 15:31
mveDave Kreskowiak4-May-04 15:31 
GeneralRe: my assignment Pin
Colin Angus Mackay4-May-04 22:13
Colin Angus Mackay4-May-04 22:13 
GeneralRe: my assignment Pin
Colin Angus Mackay4-May-04 22:17
Colin Angus Mackay4-May-04 22:17 
GeneralActiveDocument Creation Date Pin
skoizumi291104-May-04 11:15
sussskoizumi291104-May-04 11:15 
GeneralCrystal Example Pin
Andreas L4-May-04 6:06
Andreas L4-May-04 6:06 
GeneralRe: Crystal Example Pin
Member 9923937-May-04 11:39
Member 9923937-May-04 11:39 
Generalcritical section Pin
Anonymous4-May-04 3:40
Anonymous4-May-04 3:40 
QuestionCan't cast ArrayList to Array? Pin
FruitBatInShades4-May-04 2:05
FruitBatInShades4-May-04 2:05 
AnswerRe: Can't cast ArrayList to Array? Pin
Dave Kreskowiak4-May-04 4:41
mveDave Kreskowiak4-May-04 4:41 
Generalcapture packet and manipulate fields Pin
babur khan3-May-04 23:31
babur khan3-May-04 23:31 
GeneralRe: capture packet and manipulate fields Pin
Colin Angus Mackay4-May-04 0:33
Colin Angus Mackay4-May-04 0:33 
GeneralRe: capture packet and manipulate fields Pin
babur khan4-May-04 5:25
babur khan4-May-04 5:25 
GeneralRe: capture packet and manipulate fields Pin
Colin Angus Mackay4-May-04 6:21
Colin Angus Mackay4-May-04 6:21 
GeneralRe: capture packet and manipulate fields Pin
Dave Kreskowiak4-May-04 9:18
mveDave Kreskowiak4-May-04 9:18 
GeneralRe: capture packet and manipulate fields Pin
Colin Angus Mackay4-May-04 9:29
Colin Angus Mackay4-May-04 9:29 
GeneralRe: capture packet and manipulate fields Pin
babur khan4-May-04 23:03
babur khan4-May-04 23:03 
GeneralRe: capture packet and manipulate fields Pin
Colin Angus Mackay4-May-04 23:32
Colin Angus Mackay4-May-04 23:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.