Linking childform to Main Form in VB6

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Comteck

    Linking childform to Main Form in VB6

    I am quite proficient at programming Visual Basic for Microsoft Access. I
    am currently learning Visual Basic 6, and would like to be able to take my
    database files from Access, and re-write them in VB 6.

    One database program that I wrote had a subform in one of the forms. I was
    able to link the subform to the form simply by going into the properties
    and setting the subform as a child form of the main parent form.

    In VB 6, I can't seem to get this to work. Is there a way to create a
    subform, or a grid in VB 6 that can be linked to the main form? Any help
    would be appreciated.

    If you are responding via e-mail, please remove the "xx" from comteckxx.

    thanks in advance.

    Comteck
  • Cor Ligthert [MVP]

    #2
    Re: Linking childform to Main Form in VB6

    Comteck,

    Five things,

    First
    Please don't solicit for email in a newsgroup. We are trying to learn from
    each other, this is not a helpdesk for that you can go to the regular
    Microsoft Support centre.

    Secondly why are you trying to upgrade to a Visual Basic version which is
    already the 4th version in past.

    Third be aware that you can not get *easy* the same results using Visual
    Basic as with MS-Access. MS-Access is a tool inside pre defined
    possibilities. Therefore some things are very easy to do with it, others
    just cannot be done.

    Fourth
    In a little bit other way is what you ask easily to do (if you know how)
    with VBNet 2005, you even don't have write one line of code for that
    (assuming that the relations are set in the database).

    Five
    The best thing you can do is in my idea go to MSDN and get from this the
    tools
    VBNet Express
    SQLServer Express



    They are still free to get.

    I hope this helps,

    Cor


    "Comteck" <comteckxx@telu s.net> schreef in bericht
    news:Xns97E0B7F EC3D2Ecomteckxx telusxxnet@198. 80.55.250...[color=blue]
    >I am quite proficient at programming Visual Basic for Microsoft Access. I
    > am currently learning Visual Basic 6, and would like to be able to take my
    > database files from Access, and re-write them in VB 6.
    >
    > One database program that I wrote had a subform in one of the forms. I
    > was
    > able to link the subform to the form simply by going into the properties
    > and setting the subform as a child form of the main parent form.
    >
    > In VB 6, I can't seem to get this to work. Is there a way to create a
    > subform, or a grid in VB 6 that can be linked to the main form? Any help
    > would be appreciated.
    >
    > If you are responding via e-mail, please remove the "xx" from comteckxx.
    >
    > thanks in advance.
    >
    > Comteck[/color]


    Comment

    • Comteck

      #3
      Re: Linking childform to Main Form in VB6

      Thanks for your help. I already have Visual Basic 2005 Express Edition.
      Am I correct in saying that is the same thing as VBNET Express?

      As well, what is the difference between "VB 2005 Express Edition" and
      "VB 2005 Pro Edition"? I know there are probably some major differences
      due to the price you pay for the pro edition. But, am I able to create
      full fledge programs/databases with the express edition?

      One last question... where can I find a good tutorial for VB 2005
      Express edition?

      Thanks again.

      Comteck


      "Cor Ligthert [MVP]" <notmyfirstname @planet.nl> wrote in
      news:uCWqDFrjGH A.4504@TK2MSFTN GP05.phx.gbl:
      [color=blue]
      > Comteck,
      >
      > Five things,
      >
      > First
      > Please don't solicit for email in a newsgroup. We are trying to learn
      > from each other, this is not a helpdesk for that you can go to the
      > regular Microsoft Support centre.
      >
      > Secondly why are you trying to upgrade to a Visual Basic version which
      > is already the 4th version in past.
      >
      > Third be aware that you can not get *easy* the same results using
      > Visual Basic as with MS-Access. MS-Access is a tool inside pre defined
      > possibilities. Therefore some things are very easy to do with it,
      > others just cannot be done.
      >
      > Fourth
      > In a little bit other way is what you ask easily to do (if you know
      > how) with VBNet 2005, you even don't have write one line of code for
      > that (assuming that the relations are set in the database).
      >
      > Five
      > The best thing you can do is in my idea go to MSDN and get from this
      > the tools
      > VBNet Express
      > SQLServer Express
      >
      > http://msdn.microsoft.com/vstudio/express/
      >
      > They are still free to get.
      >
      > I hope this helps,
      >
      > Cor[/color]

      Comment

      • Cor Ligthert [MVP]

        #4
        Re: Linking childform to Main Form in VB6

        Comteck,

        These questions are all to find on MSDN and/of MSDN2, I don't know if you
        know those pages.
        (Searching is troubleful so if you don't find it, than feel free to ask
        here)



        Free Book - Introducing Visual Basic 2005 for Developers

        I won't say it is the best, I do not read tutorials for this.

        I hope this helps,

        Cor

        "Comteck" <comteckxx@telu sxx.net> schreef in bericht
        news:Xns97E1B7E E4733comteckxxt elusxxnet@199.1 85.223.74...[color=blue]
        > Thanks for your help. I already have Visual Basic 2005 Express Edition.
        > Am I correct in saying that is the same thing as VBNET Express?
        >
        > As well, what is the difference between "VB 2005 Express Edition" and
        > "VB 2005 Pro Edition"? I know there are probably some major differences
        > due to the price you pay for the pro edition. But, am I able to create
        > full fledge programs/databases with the express edition?
        >
        > One last question... where can I find a good tutorial for VB 2005
        > Express edition?
        >
        > Thanks again.
        >
        > Comteck
        >
        >
        > "Cor Ligthert [MVP]" <notmyfirstname @planet.nl> wrote in
        > news:uCWqDFrjGH A.4504@TK2MSFTN GP05.phx.gbl:
        >[color=green]
        >> Comteck,
        >>
        >> Five things,
        >>
        >> First
        >> Please don't solicit for email in a newsgroup. We are trying to learn
        >> from each other, this is not a helpdesk for that you can go to the
        >> regular Microsoft Support centre.
        >>
        >> Secondly why are you trying to upgrade to a Visual Basic version which
        >> is already the 4th version in past.
        >>
        >> Third be aware that you can not get *easy* the same results using
        >> Visual Basic as with MS-Access. MS-Access is a tool inside pre defined
        >> possibilities. Therefore some things are very easy to do with it,
        >> others just cannot be done.
        >>
        >> Fourth
        >> In a little bit other way is what you ask easily to do (if you know
        >> how) with VBNet 2005, you even don't have write one line of code for
        >> that (assuming that the relations are set in the database).
        >>
        >> Five
        >> The best thing you can do is in my idea go to MSDN and get from this
        >> the tools
        >> VBNet Express
        >> SQLServer Express
        >>
        >> http://msdn.microsoft.com/vstudio/express/
        >>
        >> They are still free to get.
        >>
        >> I hope this helps,
        >>
        >> Cor[/color][/color]


        Comment

        Working...