Please help, HSC student stuck with code [modified]
-
hi everyone, i need some help with an assignment i am doing. I need someone to teach me how to make a parent and child form and how to make the two interract with each other, when using variables, structures and assigning objects please explain what is being done when i put all this into a form.. i am using visual basic 6.0 on my schools computers. it is important that you teach me and not just tell me because i must understand what is going on so i can replicate it in the future. Thankyou for your help. The assignment is fairly straight forward, i am ust putting extra things in to score extra marks, i have to calculate the price of an item from a list box and allocate a currency to perform a conversion rate. I want the parent form to look like the print screens with the images on them and the chold form to use all the variables from the parent form as well as a new set of variables to calculate the total price and allow for another set of items to be bought.. images of my source code are posted as well. at the moment i have made the form stretch to accomodate for buying new items, but it doesnt show in the schools screens due to their resolution. this is why i thought of a prent child form. i have also uploaded my source code in a notepad file. if maybe you could add to it and tell me how i can do this child parent form thing that would be great. Thankyou Source Code http://www.uploading.com/files/GA2WMP0U/source_code.txt.html Form
Source Code
-
hi everyone, i need some help with an assignment i am doing. I need someone to teach me how to make a parent and child form and how to make the two interract with each other, when using variables, structures and assigning objects please explain what is being done when i put all this into a form.. i am using visual basic 6.0 on my schools computers. it is important that you teach me and not just tell me because i must understand what is going on so i can replicate it in the future. Thankyou for your help. The assignment is fairly straight forward, i am ust putting extra things in to score extra marks, i have to calculate the price of an item from a list box and allocate a currency to perform a conversion rate. I want the parent form to look like the print screens with the images on them and the chold form to use all the variables from the parent form as well as a new set of variables to calculate the total price and allow for another set of items to be bought.. images of my source code are posted as well. at the moment i have made the form stretch to accomodate for buying new items, but it doesnt show in the schools screens due to their resolution. this is why i thought of a prent child form. i have also uploaded my source code in a notepad file. if maybe you could add to it and tell me how i can do this child parent form thing that would be great. Thankyou Source Code http://www.uploading.com/files/GA2WMP0U/source_code.txt.html Form
Source Code
Tj. wrote:
it is important that you teach me and not just tell me because i must understand what is going on so i can replicate it in the future.
You get my 5, just for saying that, instead of just asking for a solution. Sadly, I can't help you. It's a shame you're learning VB6, VB.NET Express Edition is free, and VB6 is long dead ( that is, it's no longer supported, I admit that some backwards looking companies still use it ).
Christian Graus - C++ MVP
-
hi everyone, i need some help with an assignment i am doing. I need someone to teach me how to make a parent and child form and how to make the two interract with each other, when using variables, structures and assigning objects please explain what is being done when i put all this into a form.. i am using visual basic 6.0 on my schools computers. it is important that you teach me and not just tell me because i must understand what is going on so i can replicate it in the future. Thankyou for your help. The assignment is fairly straight forward, i am ust putting extra things in to score extra marks, i have to calculate the price of an item from a list box and allocate a currency to perform a conversion rate. I want the parent form to look like the print screens with the images on them and the chold form to use all the variables from the parent form as well as a new set of variables to calculate the total price and allow for another set of items to be bought.. images of my source code are posted as well. at the moment i have made the form stretch to accomodate for buying new items, but it doesnt show in the schools screens due to their resolution. this is why i thought of a prent child form. i have also uploaded my source code in a notepad file. if maybe you could add to it and tell me how i can do this child parent form thing that would be great. Thankyou Source Code http://www.uploading.com/files/GA2WMP0U/source_code.txt.html Form
Source Code
OK, you took a good post and f'ed it up by posting a ton of links to pictures of your form and code. You also used a site that won't let anyone see the pictures without joining the site. Bad, bad, bad. All you have to do is post the parts of the code you're having problem with. I know I'm not going to click on 15 different links to see parts of the code in an attempt to diagnose it.
Dave Kreskowiak Microsoft MVP - Visual Basic
-
hi everyone, i need some help with an assignment i am doing. I need someone to teach me how to make a parent and child form and how to make the two interract with each other, when using variables, structures and assigning objects please explain what is being done when i put all this into a form.. i am using visual basic 6.0 on my schools computers. it is important that you teach me and not just tell me because i must understand what is going on so i can replicate it in the future. Thankyou for your help. The assignment is fairly straight forward, i am ust putting extra things in to score extra marks, i have to calculate the price of an item from a list box and allocate a currency to perform a conversion rate. I want the parent form to look like the print screens with the images on them and the chold form to use all the variables from the parent form as well as a new set of variables to calculate the total price and allow for another set of items to be bought.. images of my source code are posted as well. at the moment i have made the form stretch to accomodate for buying new items, but it doesnt show in the schools screens due to their resolution. this is why i thought of a prent child form. i have also uploaded my source code in a notepad file. if maybe you could add to it and tell me how i can do this child parent form thing that would be great. Thankyou Source Code http://www.uploading.com/files/GA2WMP0U/source_code.txt.html Form
Source Code
Tj. wrote:
i have made the form stretch to accomodate for buying new items, but it doesnt show in the schools screens due to their resolution. this is why i thought of a prent child form.
Instead of using parent/child forms, have you considered using a tab control with two or more tab pages? (I don't work with VB 6.0, so I can't give you specifics)
Roy.