Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

windows applications

  • 27-04-2009 04:04AM
    #1
    Registered Users, Registered Users 2 Posts: 2,971 ✭✭✭


    ok guys i have a problem that I cant solve.

    I have two windows application forms. The first is entiled "enterdetails" and the second is entitled "receipt"

    now what i want to do is when I enter my name into a textbox which i have called "firstname" in the enter details application,
    I need the name entered to display in a textbox entitled "firstname2" which is located in receipt windows application.

    I have a button programmed to open the receipt application after the details have been entered in the enterdetails application

    but I cant get it to display the content from the "firstname" textbox to the "firstname2" textbox

    btw im relatively new to programming so apologies if there are bad mistakes in my attempt below ( I learn by trial and error)

    The following code is what I have inside my receipt application


    'enterdetails.firstname.Text = Me.firstname2.Text

    Do I need to declare the textboxes here and if so what should they be declared as?

    Thanks in advance



Comments

  • Registered Users, Registered Users 2 Posts: 2,971 ✭✭✭teednab-el


    its ok guys i figured it out


Advertisement