Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. VB6 to VB.NET Migrate problems

VB6 to VB.NET Migrate problems

Scheduled Pinned Locked Moved Visual Basic
helptutorialcsharpquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AR Reddy
    wrote on last edited by
    #1

    Hi, I got a problem when my application migrated from VB6 to VB.NET. The problem is "Couldn't resolve default property of object adresse." Here is the sample code: Friend ReadOnly Property adr() As rsd Get 'UPGRADE_WARNING: Couldn't resolve default property of object adr. Click for more: 'ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="vbup1037"' Return mA End Get End Property Here rsd is structure type. Could anyone of you please guide me how to solve this problem. Thanks in advance,

    AR Reddy

    N D 2 Replies Last reply
    0
    • A AR Reddy

      Hi, I got a problem when my application migrated from VB6 to VB.NET. The problem is "Couldn't resolve default property of object adresse." Here is the sample code: Friend ReadOnly Property adr() As rsd Get 'UPGRADE_WARNING: Couldn't resolve default property of object adr. Click for more: 'ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="vbup1037"' Return mA End Get End Property Here rsd is structure type. Could anyone of you please guide me how to solve this problem. Thanks in advance,

      AR Reddy

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      Check this[^]

      All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions

      1 Reply Last reply
      0
      • A AR Reddy

        Hi, I got a problem when my application migrated from VB6 to VB.NET. The problem is "Couldn't resolve default property of object adresse." Here is the sample code: Friend ReadOnly Property adr() As rsd Get 'UPGRADE_WARNING: Couldn't resolve default property of object adr. Click for more: 'ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="vbup1037"' Return mA End Get End Property Here rsd is structure type. Could anyone of you please guide me how to solve this problem. Thanks in advance,

        AR Reddy

        D Offline
        D Offline
        Dave Kreskowiak
        wrote on last edited by
        #3

        Rewrite the line to specify the property that should be returned. Using "default properties" is considered bad practice anyway, but, sadly, VB6 users rely on it way too much.

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
             2006, 2007, 2008

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups