?
Solved

Problems with VB .NET Upgrade from VB6

Posted on 2004-10-20
4
Medium Priority
?
275 Views
Last Modified: 2012-08-13
Hi, I have a problem upgrading a project from VB6 to VB .NET. The log file has this at the end:
    <File
        OldPath = "C:\...\FormErrorReport.frm"
        NewPath = "C:\...\FormErrorReport.vb"
        FileType = "Form"
        Upgraded = "False"
    />
    <Issue
        Type = "Global Error"
        Number = "4009"
    >The referenced component Inet is missing a design time license.</Issue>
</UpgradeLog>

[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://"
   End

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.
0
Comment
Question by:nneonneo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 48

Accepted Solution

by:
Mikal613 earned 200 total points
ID: 12364990
0
 

Author Comment

by:nneonneo
ID: 12407122
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...
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question