Visual Basic .NET Tutorial 46 - Passing a value from one form to another form in VB.NET

Sdílet
Vložit
  • čas přidán 31. 03. 2014
  • Passing Data Between Forms. VB.NET - How to pass string value from one form to another form's load
    ★★★Top Online Courses From ProgrammingKnowledge ★★★
    Python Programming Course ➡️ bit.ly/2vsuMaS ⚫️ bit.ly/2GOaeQB
    Java Programming Course ➡️ bit.ly/2GEfQMf ⚫️ bit.ly/2Vvjy4a
    Bash Shell Scripting Course ➡️ bit.ly/2DBVF0C ⚫️ bit.ly/2UM06vF
    Linux Command Line Tutorials ➡️ bit.ly/2IXuil0 ⚫️ bit.ly/2IXukt8
    C Programming Course ➡️ bit.ly/2GQCiD1 ⚫️ bit.ly/2ZGN6ej
    C++ Programming Course ➡️ bit.ly/2V4oEVJ ⚫️ bit.ly/2XMvqMs
    PHP Programming Course ➡️ bit.ly/2XP71WH ⚫️ bit.ly/2vs3od6
    Android Development Course ➡️ bit.ly/2UHih5H ⚫️ bit.ly/2IMhVci
    C# Programming Course ➡️ bit.ly/2Vr7HEl ⚫️ bit.ly/2W6RXTU
    JavaFx Programming Course ➡️ bit.ly/2XMvZWA ⚫️ bit.ly/2V2CoAi
    NodeJs Programming Course ➡️ bit.ly/2GPg7gA ⚫️ bit.ly/2GQYTQ2
    Jenkins Course For Developers and DevOps ➡️ bit.ly/2Wd4l4W ⚫️ bit.ly/2J1B1ug
    Scala Programming Tutorial Course ➡️ bit.ly/2PysyA4 ⚫️ bit.ly/2PCaVj2
    Bootstrap Responsive Web Design Tutorial ➡️ bit.ly/2DFQ2yC ⚫️ bit.ly/2VoJWwH
    MongoDB Tutorial Course ➡️ bit.ly/2LaCJfP ⚫️ bit.ly/2WaI7Ap
    QT C++ GUI Tutorial For Beginners ➡️ bit.ly/2vwqHSZ
    ★★★ Online Courses to learn ★★★
    Get 2 FREE Months of Unlimited Classes from skillshare - skillshare.eqcm.net/r1KEj
    Data Science - bit.ly/2lD9h5L | bit.ly/2lI8wIl
    Machine Learning - bit.ly/2WGGQpb | bit.ly/2GghLXX
    Artificial Intelligence - bit.ly/2lYqaYx | bit.ly/2NmaPya
    MERN Stack E-Degree Program - bit.ly/2kx2NFe | bit.ly/2lWj4no
    DevOps E-degree - bit.ly/2k1PwUQ | bit.ly/2k8Ypfy
    Data Analytics with R - bit.ly/2lBKqz8 | bit.ly/2lAjos3
    AWS Certification Training - bit.ly/2kmLtTu | bit.ly/2lAkQL1
    Projects in Java - bit.ly/2kzn25d | bit.ly/2lBMffs
    Machine Learning With TensorFlow - bit.ly/2m1z3AF | bit.ly/2lBMhnA
    Angular 8 - Complete Essential Guide - bit.ly/2lYvYRP
    Kotlin Android Development Masterclass - bit.ly/2GcblsI
    Learn iOS Programming Building Advance Projects - bit.ly/2kyX7ue
    ★★★ Follow ★★★
    My Website - www.codebind.com
    DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
    VB.NET - how to pass values from one form to another
    VB.NET - Passing a value from one form to another form
    HOw to pass values from one Form to another
    pass a variable from one form to another - VB.NET / C Sharp
    Sample Code in C#: How to Pass values to another Form Visual Basic .NET
    VB.NET - Get value from another Form
    Passing Data To another Form (C# .NET)
    VB.NET - Send value from one form to another
    Passing Values From Form to Form in C# Complete Step by Step Visual Basic .NET
    How To Pass Values From Page to Page Using Visual Basic .NET

Komentáře • 74

  • @goodairin
    @goodairin Před 7 lety

    Very helpful. Thank you for posting this.

  • @kangarooshotgun
    @kangarooshotgun Před 8 lety

    Great explanation, thanks!

  • @dharanignanasekar6586
    @dharanignanasekar6586 Před 3 lety

    I search a lot in Google finally I got this vedio. Thank u chlkutty❤️👍🏼

  • @spatil6522
    @spatil6522 Před 4 lety

    Thanks a lot sir.
    Keep sharing the knowledge.

  • @ProgrammingKnowledge
    @ProgrammingKnowledge  Před 10 lety +3

    • @ethanwehrle
      @ethanwehrle Před 7 lety +1

      Thanks man... You have helped me out a lot on my final assignment!

  • @bhubesi9425
    @bhubesi9425 Před 9 lety

    simple and straight on point..

  • @imabweaver
    @imabweaver Před 10 lety +6

    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?

  • @terryalleyne8455
    @terryalleyne8455 Před 5 lety

    great job helped me a lot

  • @dennisgallardo1129
    @dennisgallardo1129 Před 8 lety

    thank you man!!1 you help me a lot!!

  • @mohamadaiman3813
    @mohamadaiman3813 Před 3 lety +1

    Thank you!! It is very helpful for me to complete my assignment :)

  • @keladriel
    @keladriel Před 4 lety

    Thank you for the help!

  • @unknownstardust_
    @unknownstardust_ Před 2 lety

    Very helpful, thanks!

  • @UmitDurupinar
    @UmitDurupinar Před 8 lety +1

    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.

  • @adlersongs4460
    @adlersongs4460 Před 6 lety

    Thank you! Do you know how can I show this form on all other client computers with the button click

  • @josephngasseufa3365
    @josephngasseufa3365 Před rokem

    this is t very good tutos.. thanks you my best friend

  • @mesutyenigun7609
    @mesutyenigun7609 Před rokem

    Thanks lot you saved my day.

  • @SuperMamaLeer
    @SuperMamaLeer Před 8 lety

    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!

    • @michaelburdetsky3796
      @michaelburdetsky3796 Před 8 lety

      +Andrea Leer What's the name of your text book? I'm just freelance studying atm, would love to know more!

    • @SuperMamaLeer
      @SuperMamaLeer Před 8 lety

      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

  • @drallisimo34
    @drallisimo34 Před 6 lety

    cool stuff!!!

  • @armstrong4709
    @armstrong4709 Před 6 lety

    Thank you vevry much.

  • @sindupratama8966
    @sindupratama8966 Před 2 lety

    WOW, thank you a lot for helping me in my homework. Subs +1

  • @qual1481
    @qual1481 Před 6 lety

    could you send the value to a combo box to make it an option to choose from?

  • @actimix9
    @actimix9 Před 2 lety

    Thank you bruh!

  • @normangon
    @normangon Před 9 lety

    Thanks multithread don't have issues in this way.

  • @basetmohreb6152
    @basetmohreb6152 Před 3 lety

    THANK YOU VERY MUCH

  • @aubintalawou3642
    @aubintalawou3642 Před 6 lety

    How do you transfer a multiple text saved file to a list box on a different form?

  • @gtag174
    @gtag174 Před 9 lety +1

    nice video bhai. now how do i pass a griedview data filtered from one form into a report in another form ?

  • @lykamaebamba2631
    @lykamaebamba2631 Před 7 lety

    how to uhm have a button in the message box and when you clicked it, it will lead you to the next form ?

  • @deanaque6153
    @deanaque6153 Před 10 lety +1

    thankiee

  • @Skystarish
    @Skystarish Před 6 měsíci

    Thanks bro❤

  • @keshavkishore
    @keshavkishore Před 7 lety

    When i use me.hide() then form2 label data is deleted plz can you do this with textbox.text instead of label.text

  • @dummyangdami3461
    @dummyangdami3461 Před 3 lety

    Thank you

  • @the-eta
    @the-eta Před 7 lety

    hello sir! how can i save all the of form1 and form to and the same database.

  • @aggarwalg4503
    @aggarwalg4503 Před 3 lety

    Thanks sir 😊😊

  • @daveb9099
    @daveb9099 Před 6 lety

    I NEED A HELP,
    How to do this in C++ using qt creator??

  • @thesamrex3063
    @thesamrex3063 Před 2 lety

    thank you

  • @eijunorbeta5155
    @eijunorbeta5155 Před 6 lety

    i want to stack the data in form2 label, is it possible?

  • @educationhub8241
    @educationhub8241 Před 5 lety

    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

  • @bhanu3353
    @bhanu3353 Před 2 lety

    thx bro, 🤝🤝🤝

  • @jitendrakumardas
    @jitendrakumardas Před 5 lety

    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.

  • @karthikgowda.s8174
    @karthikgowda.s8174 Před 4 lety

    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

  • @ghostman2876
    @ghostman2876 Před 4 lety

    okay, thanks dinesh

  • @Uciferzalunje
    @Uciferzalunje Před 7 lety

    is that work remote server/client?

  • @lavakushsingh7330
    @lavakushsingh7330 Před 5 lety

    good

  • @cherrymaetoledo1628
    @cherrymaetoledo1628 Před 8 lety

    how about passing 1point to another form? can you make a tutorial for that?

  • @alanwu6301
    @alanwu6301 Před 4 lety

    Hi
    Can this work on LAN network. Thanks

  • @Legendax0201
    @Legendax0201 Před 2 lety

    how can i make 2 variable and show 2 output for another form?

  • @sebiroulola1919
    @sebiroulola1919 Před 7 lety

    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.

  • @daniel49245
    @daniel49245 Před 2 lety

    Form2.Label1.Text = TextBox1.Text.ToString()
    Form2.Show()
    ----------
    It's simpler

  • @rechiebernabe3786
    @rechiebernabe3786 Před 8 lety

    may i know on how to apply this in asp.net visual basic?

  • @7AngelOfDarkness
    @7AngelOfDarkness Před 10 lety +3

    And wtf at 3:21 ... there is property and he reads prototype... just wtf

  • @maryjoylobaton7143
    @maryjoylobaton7143 Před 6 lety

    I cannot understand where String Pass came from ?

  • @CODERDO
    @CODERDO Před 7 lety

    in vb its much easier than your way no need much of codes

  • @wilfredyeboah
    @wilfredyeboah Před 10 lety

    very good it has helped me a lot. but how can we pass pictures from one form to another

  • @7AngelOfDarkness
    @7AngelOfDarkness Před 10 lety +4

    Omg we could easily write in form2 "Label1.Text = Form1.Textbox1.Text"

    • @aldouskenneth
      @aldouskenneth Před 9 lety

      Does it still work if you changed the value in form 1 using this code?

    • @SuperMamaLeer
      @SuperMamaLeer Před 8 lety

      +Dark I've actually tried that many times and it always comes up with an error. This, however, works.

    • @shotokan1329
      @shotokan1329 Před 6 lety

      Wow no need to watch just do what Dark say, works great
      Thanks Dark

    • @deliciasuprema9641
      @deliciasuprema9641 Před 6 lety

      love you

  • @naseemsa
    @naseemsa Před 2 lety

    Not working in MDI Forms / MDichild Form

  • @mihailomilanovic1748
    @mihailomilanovic1748 Před 7 lety +1

    label1.text = form1.textbox1.text
    tnx

    • @gonfreeccs4776
      @gonfreeccs4776 Před 6 lety

      Error 1 Reference to a non-shared member requires an object reference. How can I fix it?

    • @osama4937
      @osama4937 Před 5 lety

      thank you so much

  • @waseemabusultan8984
    @waseemabusultan8984 Před 6 lety

    ::,how,,

  • @yanadoodle6065
    @yanadoodle6065 Před 6 lety

    leeeeebleee

  • @vivekmodi726
    @vivekmodi726 Před 7 lety

    aabe kuch ni a rha ha yr

  • @chenweicheow7740
    @chenweicheow7740 Před 7 lety +1

    not work

  • @TheForgottenIce
    @TheForgottenIce Před 9 lety +1

    april fool HAHAHAHAHA!!!!

  • @7AngelOfDarkness
    @7AngelOfDarkness Před 10 lety +8

    Stop changing fonts, nobody cares.