Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Problems with VB .NET Upgrade from VB6

Posted on 2004-10-20
4
Medium Priority
?
280 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

636 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