Re: .net 2.0 framework compatability

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




"Cor Ligthert [MVP]" <notmyfirstname@xxxxxxxxx> wrote in message
news:uDAkEMB7FHA.1032@xxxxxxxxxxxxxxxxxxxxxxx
> Greg,
>
> I did not look to it before, however in my opinion can you say that the
> 1.1 way is a bug.
>
> What happens in your routine is:
>
> There is a sort order in the dv that should be dynamic.
>
> In 1.1 it does not react on it if you change inside the for loop
> In 2.0 it changes the order direct when there is a change in the
> sortorder.
>
> I agree with you that the last can give weird results.
>
> Cor

I would agree also it was probably a bug. (Definately poorly written code on
my part.) But the lesson here is, if you recompile you need to do some
thorough testing.

In fact I forgot about this test I did and reported in another thread...

"I just ran my test app (the 1.1 version) from that thread on a machine with
nothing but 2.0 on it. I got the 2.0 output (not suprising)."

In other words, if 1.1 is not available to the program it will run using 2.0
framework. (kinda obvious when you think about it) And any hidden gotchas
will appear WITHOUT recompiling! Anybody else see a problem here? :^)

You would think .NET apps would REQUIRE the framework they were complied
against since they obvioulsy may no't work the same on newer builds. (I
know there is a way to enforce this in a *.config file, but maybe it should
be the default behavior, no?)

Greg


.



Relevant Pages

  • Re: Replace a framework class
    ... changing a class in the Framework in a way that will effect all ... there is a bug in the original IBM PC BIOS Int 10 video interface. ... The new class MyDataSet will have all the functionality of the DataSet class ... Microsoft MSDN Online Support Lead ...
    (microsoft.public.dotnet.framework)
  • Re: TabControl page order
    ... Thanks for the code Chris but that didn't seem to help. ... This doesn't look like a Compact Framework bug. ... When I look at the generated code I can see that Visual Studio is ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Linux v2.6.18-rc5
    ... funeral in Finland, but Greg and Andrew kept on top of things, and we were ... issues in 2.6.18-rc* (and earlier kernels, ... I'm doing all I can to gather info for Nathan so he can fix the bug, ...
    (Linux-Kernel)
  • Re: Dialog Result / Modal Form Problem
    ... It is very unlikely that it is 'bug' in the framework or a missing dll. ... the corresponding DialogResult OK and cancel properties. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Radiobuttonlist onclick event
    ... Thanks very much for both your responses. ... > There is a bug in the framework but not related to this question. ... >> More people read the newsgroups than read my email. ...
    (microsoft.public.dotnet.framework.aspnet)