K
Ken Halter
Lloyd Sheen said:As far as I know this is a VB.NET group and curly brackets are part of the
syntax. Grow up.
Way to sidestep the fact you misread my post. Great job.net
Lloyd Sheen said:As far as I know this is a VB.NET group and curly brackets are part of the
syntax. Grow up.
Tom Shelton said:Oh, please. VB6 sixes help sucks rocks. VB5 had the last decent help.
The
internet has been the primary source of real help for years.
So, you admit that the SAME event procedure can NOT handle the same event
for
diffent individual controls (not control arrays) or differing types of
controls... Thanks.
As for your work around, sure - used to do it all the time, still do as a
matter of fact. It just depends on the task at hand. C#/VB.NET just adds
an
extra tool to my belt.
You think:
Dim i As Integer = 10
Is unreadable? Wow.
Because that syntax sucks. The new syntax, is cleaner, highly readable
and
IMHO, more clearly convey's the intent of the author - thereby leading to
less bugs.
Again, you don't like it - don't use it, but don't try to force your
strange
sesne of readability on others.
Again, a valid option. Hope it works for you, when the rest of the world
moves on to distributed systems and 64-bit apps....
Goody for them.
Oh yea, Set. Another one of those idiotic VB.CLASSIC'isms, introduced as
a
bandaid to the whole default propety mess. You know, the feature that
most
proffesionals and MVP's discouraged people from using for years.
Because they screwed up their installer. What does that have to do with
.NET?
Just as most of us have figured out how to deal with framework
installations... But, it didn't stop you from bringing that up, so I
thought
I'd just point out one of the flaws in VB6 installations. Nothing is
perfect.
Yes, just as your statements were your opinion... It's just that mine are
more grounded in reality and the current market - but, I guess that's what
comes of not shackling myself to a product that's useful lifetime expired
some
time in the last decade.
What are you talking about?
And no it doesn't have single procedure view. I'm sorry that you don't
like
that - but, you know what - I hate single procedure view. But, I'm sure
if
enough people requested it, it would have been added by now... Wait,
maybe
I'm not alone in hating single procedure view.
No they weren't.... You sure like to exagerate. The frameworks, are
supported under Vista - it's the IDE's that aren't supported. Big
difference.
There was some talk of that in early beta's. Didn't happen. What
difference
does it make. Vista/2008 ship with the 3.0 framework.
Tom Shelton said:Is that the best answer that you can come up with?
Yes, on occasion - not as much anymore though. I do, however, do almost
100%
of my day to day coding in C#. So, yes I do like C-style syntax. I might
come back to VB if they ever make it case senstive
I'm not sure where you even get these numbers... Do you know how many
.net
developers there are? 1 million? 2 million? I don't know - it's never
really
concerned me. I'm making more money and having more fun then I ever did
with
VB.CLASSIC
You don't need set in VB.NET - that mess has been cleaned up.
To bad... Is that why your so angry? Do you feel left out?
Let me rephrase, mr. snotty.... What is the point?
Upgrade or continue to develop on XP - test on vista. Is the VB6 ide
supported on Vista? 2008 server?
It was major pitch at the time, and I was a bit disappointed that it
didn't
materialize...
Ken Halter said:re-wrote VB basically from the ground up
Ken Halter said:It still cracks me up that Delphi and COBOL code can run nearly unchanged in
dotNet, yet VB code can't.... shouldn't really be a surprise though, since
Anders Hejlsberg had probably never seen VB and Paul "I'm the father of VB"
Vick has never touched pre-dotNet VB code at all. The blind leading the
blind. Simple as that.
Armin Zingler said:Luckily they did. Finally got rid of all the hacks.
...talking about control arrays:
Why does a CommandButton have an Index (property) even if it does not
belong
to a "control array"?
Or, create a control array of CommandButtons. Name it "Command1". Write
"MsgBox Command1.UBound". Put the caret on the word "Command1" and press
Ctrl+I. The IDE says: "Command1 As CommandButton". Huh?? The type of the
array is CommandButton, too? I thought that's the type name of a single
button. Where is that type declared? I don't find it in the object
browser.
I not even find "Ubound" anywhere in the object browser. Maybe I should
buy
new glasses.
Or, try this in the immediate window:
? typename(command1(index))
CommandButton
?typename(command1)
Object
"Object"? Well...and what is the type of the object? It's probably
"VB-special-type-under-the-hood-and-nobody-will-ever-know"?
Or, look at this, inside the Form:
Sub X(o As ???)
Msgbox o.
End Sub
Sub Y()
MsgBox Command1.UBound 'supported by intellisense
X Command1 'Remember: it's an array!
End Sub
By what do the ??? have to be replaced in order to get the intellisense
list
(ubound, lbound, item, count) when typing "o." inside Sub X? What's the
type? Can you tell me?
BTW, I don't need control arrays too because the main intentions a
programmer has can be achieved by means that did not even exist in VB6.
They
are:
- Create controls dynamically. "New CommandButton" does not work in VB6.
"New Button" works well in VB today.
- Attach/remove handlers dynamically. No more being forced to have a
template control at design time because Add/Removehandler did not even
exist. Now being able to attach any handler of any event as long as
signatures match. (and, you can name the handler whatever you want)
But I am fair. It's more work now if you have to attach the event of every
single control in the designer or in a loop to an event handler. However,
that's not a sufficient reason IMO as everything can still be done.
Keeping in mind that ".Net" was build from the ground up, there was no
need
to reintroduce control arrays - but maybe they will come back like these
horrible Form default instances that still make beginners think a class is
an object.....
Hey, GoSub was so cool because we didn't have to pass arguments. Right.
My Amstrad CPC464 back in 198? "booted" within one second. Was it
better?
Armin Zingler said:Luckily they did. Finally got rid of all the hacks.
Ken Halter said:Hopefully, you're not expecting an object to add/remove properties,
just because it may or may not be part of an array.
You may be right about "time for new glasses". In *my* object
browser, it clearly states:
Class CommandButton
Member of VB
"Object" didn't make that much sense... with that, I agree... but,
since *everything* is supposedly an "Object" in dotNet,
why does it surprise you?
What *really* suprises me is the fact they simply
renamed "Variant" to "Object" for dotNet.
umm... you're saying you have an IDE that excepts question marks as
a Type? Better re-install.
Exactly what information are you looking for here?
Intellisense
doesn't work when there are errors or missing libraries. Is that a
surprise?
Pulllleeeezzzzz. Gimme a freaking break. You can create all the
controls you need, array or not, at runtime. The fact *you* don't
know how isn't a fault of the language.
Not impressed.
Since it was built from the ground up, why did they literally steal
the name? It's not VB. You said so yourself. It's "something else",
but it's not VB.
I can see you're settling in and just accepting slow boot times.
Good for you. imo, it shouldn't take a quad-core CPU with 4 gigs of
ram to boot in less time than it takes to mow your lawn... But, if
that's what you like, have at it.
Ken Halter said:...btw...
hacks...in your code? Replaced by hacks.net?
Doesn't take long to
find posts in this very forum that show, no matter what language
you're using, you can create junkware.
You know... like that "VB Powerpack" non-sense?
Your reference to GoSub is quite telling... as were your comments
about control arrays.
Wonder why the "upgrade" group is a ghost town? Wonder why so many
questions here in this group never get answered... hmmmm.
But... no need to reply.
This is a programming language, *not* a religion"
If you don't miss control arrays, look at what I had to do