Sign in to follow this  
joanne_mc

SERIOUS HELP NEEDED

Recommended Posts

hey. i am making a pizza ordering system on visual basic. i am a complete beginner and have figured a few things out, but one thing is driving me up the wall. there is an order form, called order.vb. there is a lot of buttons, where the user selects the toppings they want and the size (i.e. a button for salami, pepperoni, chicken, 10 inch, 14 inch etc). They are then brought to a preview order screen, called preorder.vb. I cannot get the selected toppings etc to be displayed on this page. Ideally i'm trying to get them displayed in a textbox (or whatever works). I double clicked on the salami button, and typed in the code: preorder.TextBox1.text = "salami" This won't work and "reference to a non shared member requires an object reference"? I think tried, on the salami button again Dim mypreorder as New preorder() mypreorder.TextBox1.text = "salami" This won't work either. No error message was displayed but when i ran the application the textbox on the preorder.vb screen was empty. then i tried mypreorder.TextBox1.text = "salami" out of pure desperation and got: "mypreorder is not declared" anything would be useful at this stage lol

Share this post


Link to post
Share on other sites
I just came to say that you tend to get more help if you actually post what you need help with in your subject line.

"I NEED HELP" is redundant - so does everyone else in the forum. If you be more specific, someone might take interest and help you.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this