Built a config file in .NET 2003.
Ran the VB .NE T2003 .exe in .NET 2002 environment.
"Jay B. Harlow [MVP - Outlook]" <Jay_Harlow@email.msn.com> wrote in message
news:uyMD1AllDHA.2512@TK2MSFTNGP09.phx.gbl...
> Howard,
> > I do not know if the bug would show up in that case.
> Interesting thought, try it.
>
> My concern is it is a bug is in the 1.0 Microsoft.VisualBasic.dll assembly
> itself, which means although you have a 1.1 assembly (the executable) you
> would still be using the buggy code.
>
> Remember in VB.NET that functions such are FileOpen, WriteLine & FileClose
> are function class into the FileSystem class, this code exists in an
> assembly (Microsoft.VisualBasic.dll).
>
> The Microsoft.VisualBasic.dll assembly is installed as part of the
> framework.
>
> Hope this helps
> Jay
>
> "Howard Kaikow" <kaikow@standards.com> wrote in message
> news:ucRRztklDHA.2268@TK2MSFTNGP12.phx.gbl...
> > It is useful to write code in VB .NET 2003 and build a .exe that can run
> > with either version of the .NET Framework.
> > I do not know if the bug would show up in that case.
> >
> > --
> >
http://www.standards.com/; See Howard Kaikow's web site.
> > "Jay B. Harlow [MVP - Outlook]" <Jay_Harlow@email.msn.com> wrote in
> message
> > news:%23AcwzoblDHA.1672@TK2MSFTNGP09.phx.gbl...
> > > Howard,
> > > As your two projects have demonstrated. VB.NET 2003 does not have the
> > > problem, while VS.NET 2002 does.
> > >
> > > > I sure hope MSFT fixes this in VB .NET 2002.
> > >
> > > I sincerely do not see any reason why MS would retrofit the fix into
> > VB.NET
> > > 2002, especially when it was fixed in VS.NET 2003 and the beta for
> VB.NET
> > > 2004 will be available at PDC later this month. However I could be
> wrong.
> > >
> > > If upgrading to VS.NET 2003 really is not an option you could try
> > contacting
> > > MS support directly. They may, that's a really big may, have a fix
> > > available.
http://support.microsoft.com/default.aspx?pr=cntactms, of
> > course
> > > if they do not it will cost you a support call!
> > >
> > > The other option for staying on VS.NET 2002 is to convert the code
from
> > > using the Microsoft.VisualBasic.FileSystem class (FileOpen, WriteLine,
> > > FileClose) to using the .NET Framework and use the classes in
System.IO
> > > namespace instead (FileStream & TextReader & TextWriter). Depending on
> how
> > > much code you have this will be an easy conversion to a very hard
> > > conversion.
> > >
> > > Hope this helps
> > > Jay
> > >
> > >
> > > "Howard Kaikow" <kaikow@standards.com> wrote in message
> > > news:uLjayealDHA.3316@TK2MSFTNGP11.phx.gbl...
> > > > See
http://www.standards.com/index.html#Temporary and download the
> > > > WriteLine2002-001.zip file.
> > > >
> > > > File contains:
> > > >
> > > > 1. VB 6 project
> > > > 2. VB .NET 2002 Project as upgraded from VBP file.
> > > > 3. VB .NET 2003 Project as upgraded from VBP file.
> > > >
> > > > System.NullReferenceException gets raised only in VB .NET 2002
> project.
> > > > I sure hope MSFT fixes this in VB .NET 2002.
> > > >
> > > > --
> > > >
http://www.standards.com/; See Howard Kaikow's web site.
> > > >
> > > >
> > >
> > >
> >
> >
>
>