This is a good technique as far as it goes - but what if I want to pass a value from one form that is open to another form that is open? As Dark says, we can write in Form2 "Label1.Text = Form1.Textbox1.Text", but to be useful there has to be a way to raise an event that can update Form 2 from outside of Form 2 when the textbox is changed / button is pressed. So how do you refer to an instance of Form 2 that has already been created?
Ahhhh, Okay, so the way my textbook explained this confused me. I've been working on my final project for class and was so confused. Thank you for making it simple! It works!
Clearly Visual Basic, I think. It's been a while and I don't seem to have all of my books in my shelf from my studies. I do know though that this book was pretty handy for a couple of my classes, but I had so many classes to take that semester that videos like this really got me through it haha. books.google.com/books?id=7IYQD4W-LrsC
Hi... I have a question about value calibration. I get some values from PLC (0-10V Analog values). I see these values on my form as integers between 0-65000. but these values are meaningless for me. I want to calibrate these values to meaning values. I mean I want to create a calibration page. How can I do it please help me.
How to open win word application in child parent box or richtextbox or any other box and after writing some word vb save btn which is automatic save in specific drive like D:\or C:\any other plzzzzz detail plzzzzz
dim OBJ as new form2 and obj. Show() This would load this new form Once the loaded data would not be retained Like I would like pass value to 2forms like form1 would be getting data from form2 and 3 each form passes data to different textbox.......when the value is passed from one form and u get data from another form the .. . . The first form passed value would be gone
i need help 1 Write a program to implement the following function: when you click a subject in the listbox, it tells you the corresponding score of that subject. For example, if you choose maths in the listbox, a sentence like “math score is 94” will display in the textbox. Physics: 90; Maths: 94; English: 86; C: 80; Python: 83; Ecology: 78; History: 74; Education: 80; Social Science: 73 2 Write a program to display the admission fee to an event. After the user clicks on a radio button and clicks on the Determine Fee button, the fee is displayed in a text box. If you didn’t choose any option, a message will show up with contents “You must make a selection.” Note: the fees of each period is : Child: $0 Minor: 5 Adult: 10 Senior: 7.5 3 Write a program to calculate the monthly cost of a company health plan. The user checks the desired plans, and then clicks on the button to calculate the total cost.
Similarly I would like to pass the string value from one VB.exe file to another vb.exe file. Bothe the executing files are running and would like to pass the string data from one to another. Please help me with the code. else please provide me your email ID to describe elaborately.
Thanks man... You have helped me out a lot on my final assignment!
I search a lot in Google finally I got this vedio. Thank u chlkutty❤️👍🏼
Form2.Label1.Text = TextBox1.Text.ToString()
Form2.Show()
----------
It's simpler
This is a good technique as far as it goes - but what if I want to pass a value from one form that is open to another form that is open? As Dark says, we can write in Form2 "Label1.Text = Form1.Textbox1.Text", but to be useful there has to be a way to raise an event that can update Form 2 from outside of Form 2 when the textbox is changed / button is pressed. So how do you refer to an instance of Form 2 that has already been created?
Thanks lot you saved my day.
this is t very good tutos.. thanks you my best friend
Thank you!! It is very helpful for me to complete my assignment :)
Instablaster...
Ahhhh, Okay, so the way my textbook explained this confused me. I've been working on my final project for class and was so confused. Thank you for making it simple! It works!
+Andrea Leer What's the name of your text book? I'm just freelance studying atm, would love to know more!
Clearly Visual Basic, I think. It's been a while and I don't seem to have all of my books in my shelf from my studies. I do know though that this book was pretty handy for a couple of my classes, but I had so many classes to take that semester that videos like this really got me through it haha.
books.google.com/books?id=7IYQD4W-LrsC
Thanks multithread don't have issues in this way.
simple and straight on point..
Thanks a lot sir.
Keep sharing the knowledge.
Very helpful, thanks!
WOW, thank you a lot for helping me in my homework. Subs +1
great job helped me a lot
Hi... I have a question about value calibration. I get some values from PLC (0-10V Analog values). I see these values on my form as integers between 0-65000. but these values are meaningless for me. I want to calibrate these values to meaning values. I mean I want to create a calibration page. How can I do it please help me.
Very helpful. Thank you for posting this.
okay, thanks dinesh
Thanks bro❤
Thank you
Thank you bruh!
Great explanation, thanks!
Thanks sir 😊😊
Thank you for the help!
Thank you! Do you know how can I show this form on all other client computers with the button click
How to open win word application in child parent box or richtextbox or any other box and after writing some word vb save btn which is automatic save in specific drive like D:\or C:\any other plzzzzz detail plzzzzz
dim OBJ as new form2 and obj. Show()
This would load this new form
Once the loaded data would not be retained
Like I would like pass value to 2forms like form1 would be getting data from form2 and 3 each form passes data to different textbox.......when the value is passed from one form and u get data from another form the .. . . The first form passed value would be gone
could you send the value to a combo box to make it an option to choose from?
how to uhm have a button in the message box and when you clicked it, it will lead you to the next form ?
how can i make 2 variable and show 2 output for another form?
How do you transfer a multiple text saved file to a list box on a different form?
nice video bhai. now how do i pass a griedview data filtered from one form into a report in another form ?
Hi
Can this work on LAN network. Thanks
i need help
1 Write a program to implement the following function: when you click a subject in the listbox, it tells you the corresponding score of that subject. For example, if you choose maths in the listbox, a sentence like “math score is 94” will display in the textbox. Physics: 90; Maths: 94; English: 86; C: 80; Python: 83; Ecology: 78; History: 74; Education: 80; Social Science: 73
2 Write a program to display the admission fee to an event. After the user clicks on a radio button and clicks on the Determine Fee button, the fee is displayed in a text box. If you didn’t choose any option, a message will show up with contents “You must make a selection.”
Note: the fees of each period is :
Child: $0
Minor: 5
Adult: 10
Senior: 7.5
3 Write a program to calculate the monthly cost of a company health plan. The user checks the desired plans, and then clicks on the button to calculate the total cost.
And wtf at 3:21 ... there is property and he reads prototype... just wtf
hello sir! how can i save all the of form1 and form to and the same database.
i want to stack the data in form2 label, is it possible?
thank you man!!1 you help me a lot!!
When i use me.hide() then form2 label data is deleted plz can you do this with textbox.text instead of label.text
Thank you vevry much.
I NEED A HELP,
How to do this in C++ using qt creator??
is that work remote server/client?
thx bro, 🤝🤝🤝
cool stuff!!!
in vb its much easier than your way no need much of codes
how about passing 1point to another form? can you make a tutorial for that?
I cannot understand where String Pass came from ?
may i know on how to apply this in asp.net visual basic?
good
Similarly I would like to pass the string value from one VB.exe file to another vb.exe file. Bothe the executing files are running and would like to pass the string data from one to another. Please help me with the code. else please provide me your email ID to describe elaborately.
Not working in MDI Forms / MDichild Form
label1.text = form1.textbox1.text
tnx
Error 1 Reference to a non-shared member requires an object reference. How can I fix it?
thank you so much
very good it has helped me a lot. but how can we pass pictures from one form to another
thankiee
not work
Omg we could easily write in form2 "Label1.Text = Form1.Textbox1.Text"
Does it still work if you changed the value in form 1 using this code?
+Dark I've actually tried that many times and it always comes up with an error. This, however, works.
Wow no need to watch just do what Dark say, works great
Thanks Dark
love you
aabe kuch ni a rha ha yr
Stop changing fonts, nobody cares.
::,how,,
leeeeebleee
april fool HAHAHAHAHA!!!!
THANK YOU VERY MUCH
thank you