Discussion Locked

bookstore program in visual basic

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I am a student in Information Systems. I am in the first half of a semester in Visual Basic. We have an assignment to development an application that will allow students to go to the bookstore and purchase 5 types of books, add them to a shopping cart and once they have finished, the program should calculate total including discounts.Any help would be appreciated. I feel a little intimidated by this project, sometimes the teacher goes so fast and the shopping cart thing has me a little perplexed. My teacher is good I think its me that does not seem to grasp Visual Basic as fast as she expects. Any ideas would be a big help. Like where to start Sincerely Jamie

3 replies

by bill

You can use many roads to get to this application. Given the limited number of types of books (you didn't mention how many total titles) I'd suggest you use combo or list boxes to show the various available books, and the associated pricing.

Your 'shopping cart' can be as simple as a text box to hold the selected items.

I would think one form is all you'll need to construct, where the user can view the selections available, make their choices, and a cancel/checkout button group.

On cancel you would simply exit, on checkout you would total the bill, apply appropriate discounts and simulate the taking of cash/credit card to pay the bill.

The code is to lengthy to post here, but I'd be happy to look at what you've got so far and offer a suggestion or two.

This discussion is closed to new replies.