H
Howard Kaikow
In order to determine whether my sister could run VB or VB .NET on her
recently installed Win 2000 system, I created a trivial VB 6 app, and
corresponding VB .NET 2003 version.
See the HelloWorld-2.zip at http://www.standards.com/index.html#Temporary.
The .zip includes:
1. The VB 6 code and project.
2. The automatically upgraded VB .NET 2003 code and project.
3. The VB 6 and VB.NET 2003 executables that I sent to my sister.
The VB 6 code is given below.
Option Explicit
Public Sub Main()
Dim datNow As Date
datNow = Now()
MsgBox Format(datNow, "h:mm:ss") & " on " & Format(datNow, "d mmm
yyyy"), vbInformation, _
"In case you did not know, it is now"
End Sub
All I did was import the .vbp into both versions of VB .NET and build each
..exe. I wanted to use the upgraded code without doing a full conversion to
VB ..NET.
Both .exe files work on my system.
I have .NET 2002 and .NET 2003 installed in separate OS.
She was able to run the VB 6 version.
Note that she does not have VS .NET, but she tells me that she installed
..NET Framework 1.1 using Windows Update.
As expected, the VB 6 .exe worked.
However, when she ran the VB .NET 2003 .exe, she got the following message:
HelloWorld2003.exe - Common Language Runtime Debugging Services
Application has generated an exception that could not be handled.
Process id=0x538(1364), Thread id=0x150(596).
Is this a problem on her system, or do I need to do something more when
creating the .exe?
Is Microsoft.VisualBasic.Compatibility Library installed by .NET Framework?
recently installed Win 2000 system, I created a trivial VB 6 app, and
corresponding VB .NET 2003 version.
See the HelloWorld-2.zip at http://www.standards.com/index.html#Temporary.
The .zip includes:
1. The VB 6 code and project.
2. The automatically upgraded VB .NET 2003 code and project.
3. The VB 6 and VB.NET 2003 executables that I sent to my sister.
The VB 6 code is given below.
Option Explicit
Public Sub Main()
Dim datNow As Date
datNow = Now()
MsgBox Format(datNow, "h:mm:ss") & " on " & Format(datNow, "d mmm
yyyy"), vbInformation, _
"In case you did not know, it is now"
End Sub
All I did was import the .vbp into both versions of VB .NET and build each
..exe. I wanted to use the upgraded code without doing a full conversion to
VB ..NET.
Both .exe files work on my system.
I have .NET 2002 and .NET 2003 installed in separate OS.
She was able to run the VB 6 version.
Note that she does not have VS .NET, but she tells me that she installed
..NET Framework 1.1 using Windows Update.
As expected, the VB 6 .exe worked.
However, when she ran the VB .NET 2003 .exe, she got the following message:
HelloWorld2003.exe - Common Language Runtime Debugging Services
Application has generated an exception that could not be handled.
Process id=0x538(1364), Thread id=0x150(596).
Is this a problem on her system, or do I need to do something more when
creating the .exe?
Is Microsoft.VisualBasic.Compatibility Library installed by .NET Framework?