Ish
Ish

Reputation: 671

Microsoft Visual Basic 6.0 upgrade assessment Tool Error

This is the first time I am using upgrade assessment tool and it gives me the following error when the analysis is performed:

Problems occurred during analysis. Please check the following error message(s):

Object reference not set to an instance of an object.

Do you want to exit?

Here is my code that I developed in VB 6.0

Private Sub Command1_Click()
Dim line As String

Dim name As String
name = Text1.Text

If Text1.Text = Null Or Text1.Text = "" Then
MsgBox ("Please enter your name")
Else
    MsgBox ("Welcome, " + Text1.Text)
    If Option1.Value = True Then
    line = "Admin"
    MsgBox (name + ", you have selected the following items " + line)

    ElseIf Option2.Value = True Then
    line = "User"
    MsgBox (name + ", you have selected the following items " + line)

    Else
    MsgBox ("You have not selected any options! Please select one of the options given in the right panel")
    End If
'
End If

End Sub

I also tried a simple hello world application but it still gives me the same error. Note: I do not have Visual Studio on my computer. I am using Windows XP. Vb 6.0. .Net framework 1.1

Upvotes: 1

Views: 1419

Answers (2)

Maxolidean
Maxolidean

Reputation: 487

Besides the requirement of VB6, this tool has a dependency with msvcp71.dll, which is a module belonging to the Microsoft C Runtime Library.

Ensure you have that module or get it somewhere in the internet (I've just downloaded from dll-files.com), then copy to c:\windows\system32.

You will also need to install Excel 2003, which is used by the tool to generate the reports.

Upvotes: 1

jac
jac

Reputation: 9726

Microsoft requirements state that VB6 is required. This might only mean the runtime, but ... Visual Basic 6.0 to Visual Basic .NET Upgrade Assessment Tool

Upvotes: 2

Related Questions