I told you why I am acting like this. I told you I almost never use
Microsoft.Visual basic functions
Ok, fine. As I told Herfried, the decision to not use them was IMHO.
However, sometimes I get the idea that when this kind of questions comes in
this newsgroup, that you are the first one who wants to tell not to use
those functions.
That may be true. I don't see any advantage at all to using them, so IMHO I
suggest not to. But in this case I was responding (as I said) to the OP who
wanted a way to flag the "old" VB 6.0 functions and this will certainly do
the trick. The OP already responded to me yesterday that this was what he
was looking for.
"Thanks Scott.
Always the simple answers that are the best
Removing the Namespace at least alerts me to code to avoid in future
projects.
Thanks to all the others who responded as well.
Chook."
I think in some cases they are very good and nowhere is written that they
are old.
They've been around for approaching 10 years or more! Now that, in and of
itself does not make them bad. But there are new (and in my opinion more
intuitive and more efficient ways to accomplish most of the "old"
functions). So, I think to use the terms "old" and "new" is appropriate.
I do not like them, but that is my own decision.
Again, ok. I'm not twisting anyone's arm. I'm simply pointing out that
there are newer (more efficient & more intuitive) ways to do these things.
By the way, I've yet to hear ANYONE supply an example of why the old
functions would be a better way to go (other than that they are familiar
with them, which for a newbie to VB.NET wouldn't be a good reason to use
them).
It is not important because I think all is clear, but this was the start of the message from the OP.
In my opinion is he pointing on "non-OOP aware" code.
I think it had been better to ask what he did mean with that sentence than
directly telling that he should get rid with the Microsoft.VisualBasic
namespace.
I see his question as trying to avoid 2 things "function calls" and "non-OOP
aware" code (that's exactly what he wrote). I answered the first of his 2
questions. That's all. I think the problem is that you interpreted my
answer as an answer to part 2 as well.
Again, the OP already responded that my answer was what he wanted, so I
think I interpreted the question correctly.
That the name is Microsoft instead of System does not mean it is not in
the Net, it is even a part of the Linux Mono code as Tom Shelton told us.
I've never made a statement saying that it wasn't.
MERRY CHRISTMAS TO ALL!!