Hey all Might seem a bit of a noob question but here goes For my chemistry course we need to create a scientific calculator in vb. What i want is to have a window with the display and a few functions on it, form1, which i have done and then an "extra functions" button which opens up another form, form2, with more functions on it! Ive made form2 and put the buttons on but im not sure how you change the commands so that it affects the text boxes in form1. eg if i want a text box to display 1 when u press a button text1.text = 1 So how do i change this so that when executed on form2 the text box on form1 is altered? Also when i execute the program and i open up form2 i cant click on form1, wondering how u sort this also? Probably easily sorted, but used vb for the first time on friday Cheers!
Find out the name of the other form which contains the textbox If the textbox name was "t1" and the other form which contained the textbox was "F1" it would be F1.T1.TEXT = "hello" etc