• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 287
  • Last Modified:

Problems with VB .NET Upgrade from VB6

Hi, I have a problem upgrading a project from VB6 to VB .NET. The log file has this at the end:
        OldPath = "C:\...\FormErrorReport.frm"
        NewPath = "C:\...\FormErrorReport.vb"
        FileType = "Form"
        Upgraded = "False"
        Type = "Global Error"
        Number = "4009"
    >The referenced component Inet is missing a design time license.</Issue>

[file paths were "censored"]
The form itself has this text which I think is important:

   Begin InetCtlsObjects.Inet InetError
      Left            =   0
      Top             =   2640
      _ExtentX        =   1005
      _ExtentY        =   1005
      _Version        =   393216
      URL             =   "http://"

Finally, this is the code being used:

Public Sub ReportError(URL As String)
    'get the page and display the results.
    Dim Results As String
    Results = InetError.OpenURL(URL, icString)
    Debug.Print Results
    Results = Replace(Results, "<br>", vbCrLf)
    Results = StripHTML(Results)
    Debug.Print Results
    TextReportResult.Text = Results
End Sub

This really bugs me! I have not found any documentation on what the Inet class is.
If possible, I would like to know what this code can be replaced with so as to make the upgrade work.
1 Solution
nneonneoAuthor Commented:
Is there any other way to fix this?? I would rather not have to go and get VB 6, especially since VB .NET wasn't entirely cheap! Besides which, I'm not sure this project is even worth that much...
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now