Solved

Problems with VB .NET Upgrade from VB6

Posted on 2004-10-20
4
255 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
4 Comments
 
LVL 48

Accepted Solution

by:
Mikal613 earned 50 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
DO Loop not working 4 72
change vba from autofit to 13.5 width? 4 28
passing a value with stream reader AFTER a ";" 3 58
Problem to With line 4 43
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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…
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…

896 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now