Convert VB 6 code to VB.Net

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jimwest1995
    New Member
    • Aug 2007
    • 11

    #1

    Convert VB 6 code to VB.Net

    We are in the process of converting of VB 6.0 code to VB.Net. We use DBGrid and the question whenever i start to upgrade i got an error message
    "Upgrade failed: Exception occurred: The referenced component DBGrid is missing a design time license" do i need to buy another license can i use
    the one from VB 6.0?

    We currently are using ADO for our databases and needless to say we would like to keep the conversion as simple as could be.

    Thanks,
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    Try using the DataGridView object instead (you might have to look up a few of it's methods to make sure the transfer goes correctly)

    Comment

    • jimwest1995
      New Member
      • Aug 2007
      • 11

      #3
      Originally posted by Plater
      Try using the DataGridView object instead (you might have to look up a few of it's methods to make sure the transfer goes correctly)
      Thank you

      the problem is i can not do the conversion

      Comment

      • Frinavale
        Recognized Expert Expert
        • Oct 2006
        • 9749

        #4
        Originally posted by jimwest1995
        We are in the process of converting of VB 6.0 code to VB.Net. We use DBGrid and the question whenever i start to upgrade i got an error message
        "Upgrade failed: Exception occurred: The referenced component DBGrid is missing a design time license" do i need to buy another license can i use
        the one from VB 6.0?

        We currently are using ADO for our databases and needless to say we would like to keep the conversion as simple as could be.

        Thanks,
        There is no DBGrid in .NET any more...
        That's why you're getting the error.
        Try to convert the object as much as possible and then change out the DBGrid for a GridView.

        There shouldn't be much of a problem linking up a DataSet based on your ADO calls to your databases to fill the GridView.

        Sorry to say this..but you're going to have to re-code your DBGrid logic.

        -Frinny

        Comment

        Working...