where is the Key in TreeView.NET?

  • Thread starter Thread starter Tark Siala
  • Start date Start date
You're the one that made the assertion. Back it up, bub! ;-)

Bryan
____________________________________________________________
New Vision Software "When the going gets weird,"
Bryan Stafford "the weird turn pro."
alpine_don'(e-mail address removed) Hunter S. Thompson -
Microsoft MVP-Visual Basic Fear and Loathing in LasVegas
 
No one wants this to get into fire Bryan, remember I use VB new and classic
and I stand behind the product Visual Basic just as strongly as you do.

Her's a great idea though, and I'd really appreciate it if you could take
the time. Because you, like Ken, are an MVP, then you have a direct line to
Microsoft's VB Team and I'll bet they would be more than thrilled to give
you the marketing research numbers. I envy you your MVP status for just
that reason because as a very proud VB developer myself I could really use
those official statistics to get VB (any version) into projects that the C++
people and the "VB is a toy" perception still keep VB out of.

Please use your MVP influence to tell us officially that 51% of all Visual
Basic usage is in the retail sector, I will thank you, as a simple customer
and user, from the bottom of my heart.


To the point: Actually, I didn't quite make that sad assertion, I said that
for most VB devs who do corporatework (hence my use of the asterisks added
to make the implication clear, in that Of All all corporate VB developers,
Those Who need to worry about obfuscation are in the minority). Regardless
of my implication not being picked up, the point of the entire post was on
Obfuscation for the percentage of retail development that IS being done by
VB.Net developers:

As posted:

"... if you aren't a corporate dev then just don't use the free version
of Dotfusctor that comes with VS.

If you truly need obfuscation ... truly, as in you are a for-retail dev,
then ..."

With a fast re-read you'll see that I also have done non-corporate VB.Net
and that the original post tells what I personally use for obfuscation on
those projects.


Can you get those numbers on VB-For-Retail using your position, Bryan?
Thanks!

Robert Smith
Kirkland, WA
www.smtihvoice.com
 
smith said:
Her's a great idea though, and I'd really appreciate it if you could take
the time. Because you, like Ken, are an MVP, then you have a direct line to
Microsoft's VB Team and I'll bet they would be more than thrilled to give
you the marketing research numbers. I envy you your MVP status for just
that reason because as a very proud VB developer myself I could really use
those official statistics to get VB (any version) into projects that the C++
people and the "VB is a toy" perception still keep VB out of.


How much will you bet?
I could use a few extra bucks.

No, they don't share such numbers with us.
Even if they did, I'd still be suspicious of the methodology used
to gather the statistics, unless that was fully disclosed too.

Not only is the "VB is a toy" attitude still present, now dotnet has
added itself to the list. Why, just LOOK at all the product lines
at MS that have switched to VB.Net:

1) ... uh, I'm still unaware of any #1

And to C#:

1) ... whoops, not there either

And "managed" C++

1) ... nope; getting the picture yet?




Bob
[MVP-VB]
--
 
I didn't do treeviews enough in VB5/6 to ever get it to second-nature and I
had to pull out a book to remind me of the node/child logic every time ;-)

For me, the big GUI annoynace was listboxes and comboboxes. I had to make a
little page about it to force it into my head
(http://www.smithvoice.com/combofill.htm ) and I still hit that personal
page when I switch from back-end to front-end. We get good fastest at what
we do every day, for the rest there are books and newgroups.

-smith
 
Thanks, Bob & Bryan. Then how about VB6-Retail numbers? The history is
longer and they've got to have those for you because it would seem that they
use exactly that research to prioritize the featuresets for future releases.

-smith

Bob O`Bob said:
smith said:
Her's a great idea though, and I'd really appreciate it if you could take
the time. Because you, like Ken, are an MVP, then you have a direct line
to Microsoft's VB Team and I'll bet they would be more than thrilled to
give you the marketing research numbers. I envy you your MVP status for
just that reason because as a very proud VB developer myself I could
really use those official statistics to get VB (any version) into
projects that the C++ people and the "VB is a toy" perception still keep
VB out of.


How much will you bet?
I could use a few extra bucks.

No, they don't share such numbers with us.
Even if they did, I'd still be suspicious of the methodology used
to gather the statistics, unless that was fully disclosed too.

Not only is the "VB is a toy" attitude still present, now dotnet has
added itself to the list. Why, just LOOK at all the product lines
at MS that have switched to VB.Net:

1) ... uh, I'm still unaware of any #1

And to C#:

1) ... whoops, not there either

And "managed" C++

1) ... nope; getting the picture yet?




Bob
[MVP-VB]
--
 
smith said:
Thanks, Bob & Bryan. Then how about VB6-Retail numbers? The history is

which ones? sometimes they said "over seven million", sometimes they said "almost three million"
longer and they've got to have those for you because it would seem that they
use exactly that research to prioritize the featuresets for future releases.

yeah, one might tend to expect so.
unfortunately, there's never been any evidence to back it up.



Bob
--
 
:)

Maybe it's just me, but I think you'd see more VB.Net if they had more proud
VB developers on staff, as is the case in the IT divisions of most
corporations. We all know that the majority of developers that Microsoft
has traditionally hired were and are C++ students and because we're human
like-hires-like.

Traditions can be hard to break but they can be broken, there is always a
way into a system.

Microsoft isn't stupid when they really look at themselves and analyze their
direction, we've seen them change their compasses a few times in the past
when it was the correct thing to do for a product's long-term success.

The right person with the right unbiased Big Picture attitude can somehow
find themselves with a job at Microsoft and if that person is willing to put
in the effort, is vocal and secure enough in their VB to go head to head in
the places where it can do the most good, then the numbers can be made good
enough that MS would be happy to publish them everywhere. As an old boss of
mine said: "No one can argue with the clear ratings winner"

You guys are MVPs, you made a big step already. Surely there is one of you
who has spotted a position in Redmond that you can use to help the product?

Robert Smith
Kirkland, WA
www.smithvoice.com
 
smith said:
You guys are MVPs, you made a big step already. Surely there is one of
you who has spotted a position in Redmond that you can use to help the
product?

Not me <g> Nothing available for VB Classic, that's a fact. No real interest
in B# here (not at this time anyway). Redmond's too far to commute anyway.
 
Now that it's on your mind, maybe you'll see one (funny how it works that
way sometimes) and when you do see it you'll let the right person know about
it while the iron is hot.

Deal?

Smith
 
smith said:
Now that it's on your mind, maybe you'll see one (funny how it works that
way sometimes) and when you do see it you'll let the right person know
about it while the iron is hot.

Deal?

Smith

Man... you're far too optimistic for a Monday. Bah HUM BUG there buddy! ;-)

(still saying no jobs for me @ MS)
 
"It's christmas Theo, be of good cheer"
- Alan Rickman in Die Hard when the big vault wouldn't open :)
 
I just started Programming 6 mouths ago .Before Deciding what language to
learn I look at C++ And liked the Idea It was the language of windows .
But when I looked at VB6 I was hooked I loved the way I could learn and at
the same time the program could get up and run Quickly.
What really made up my mind was watching The.net Show. I watched VB.net And
loved the idea that they said they made VB a first class language with .net
Not a lot of API calls to get to the hart of the OS .At the time I didn't
know about all this controversy after all the same people that wrote
VB1,2,3,4,5,6,Wrote VB.net
I couldn't find any video tapes for learning .net as a true beginner. So I
purchase 17 VB6 CDs and 18 VB.net CDs
I'm more then half way thru VB6 And I've tried what I learned in VB.net I'm
a beginner and it wasn't like a different language it seemed like VB.
I did notice they went a little to far with Changing stupid stuff like
combo1.AddItem and many more. No Control Arrays with out having to write
your own Array handler. But Like it or not it is VB7 and if for one moment I
thought otherwise I would learn C++ and I think New programmers would agree.
Because if VB.net wasn't VB who would want to learn a dieing language. A
language that would never be upgraded again. From what little I know I would
love for Microsoft to Change .net . Not back to vb6 but put back the syntax
arrays and more . but It will never happen. So Ill learn VB6 and then move
on to VB.net
I realize many programmers Have used VB for years and feel a strong
attachment with It and Hate what MS did with it.But It is the future of VB.
Eventually I feel Microsoft will make the .net framework the only frame work
for windows Not in the near further but at so point.
 
There is no key in .net.
Which is real pain as you need to navifate via nodes. Even simple thing like
nodes(1) is a 2nd node within a node not the treeview.

I use tag property to do searching.

Try (I butchered my code but you will get general idea)
Public gTreeNodeFind as TreeNode

Public Function FindNode(ByVal t As TreeView, ByVal Id As Integer) As
TreeNode
gTreeNodeFind = Nothing

mFindNext(t.Nodes(0), Id)

Return gTreeNodeFind

End Function

Public Sub mFindNext(ByVal t As TreeNode, ByVal id As Integer)

If Not IsNothing(gTreeNodeFind) Then Exit Sub

Dim niD As integer

nid = CType(t.Tag, integer)

If nid= id Then

gTreeNodeFind = t

Exit Sub

End If

'

Dim a As TreeNode

For Each a In t.Nodes

mFindNext(a, id)

If Not IsNothing(gTreeNodeFind) Then Exit Sub

Next

end sub
 
Jim Burns said:
What really made up my mind was watching The.net Show. I watched VB.net
And
loved the idea that they said they made VB a first class language with
.net
Not a lot of API calls to get to the hart of the OS .At the time I didn't
know about all this controversy after all the same people that wrote
VB1,2,3,4,5,6,Wrote VB.net

Sorry... nice thought but, same company. Completely different development
team....All of those API calls, and other non "plain vanilla basic" code
that we've been adding to our apps for years and years, are completely
debugged and very reliable, have to be thrown away in this "language of the
month" they're calling VB.Net (aka B#). The upgrade "wizard" is worthless on
anything but "plain vanilla basic" and even then, it falls way short of
being a useful tool. The complete loss of a decade's worth of handy code
snips and components is what's keeping "the masses" from adopting B#. There
are a lot of companies doing all of their new work in .Net. Not too many
that are paying people to re-write, test, debug and redeploy tons of code
just so they can say "but, it's .Net!". We have components here that have
been in use for 5+ years without costing the company another dime becuase
they're fully debugged and suit the purpose they were designed for very
well. Why would anyone want to toss that reliability in the trash and start
over.net?
I couldn't find any video tapes for learning .net as a true beginner. So I
purchase 17 VB6 CDs and 18 VB.net CDs

Tons and tons of videos on both. If you have problems finding tutorials on
VB.anything, post back. There are a bajillion of each.
I'm more then half way thru VB6 And I've tried what I learned in VB.net
I'm

Half way through the videos maybe.. I've been writing VB code for as as long
as I can remember and I'm still not "half way through" using all of the
capabilities of the language.
a beginner and it wasn't like a different language it seemed like VB.
I did notice they went a little to far with Changing stupid stuff like
combo1.AddItem and many more. No Control Arrays with out having to write
your own Array handler. But Like it or not it is VB7 and if for one moment
I
thought otherwise I would learn C++ and I think New programmers would
agree.

You may want to reconsider. C++ devs make the most money for one thing and
they can actually use code that's years old without worrying about some
software company changing it on a whim.
Because if VB.net wasn't VB who would want to learn a dieing language. A

people who believe the marketting hype. Here are a few opinions that aren't
tied to sales.

Visual Fred
http://www.mvps.org/vb/index2.html?rants/vfred.htm

Our statement on VB.Net
http://www.microdexterity.com/staminet.html

....If I looked hard enough, I could find many more where those came from.
language that would never be upgraded again. From what little I know I
would
love for Microsoft to Change .net . Not back to vb6 but put back the
syntax
arrays and more . but It will never happen. So Ill learn VB6 and then move
on to VB.net

Good luck to you <g> Since you state that you're a beginner, you have quite
a few options. Delphi is another option and quite a few "ex-vb'er's" are
switching to that.
btw, you might want to look around the web. When you find components that
are "100% .Net authored" (or something similar), you can be sure that you'll
find "C#" tied to that statement somewhere on the page. I've never found a
single company that states that their components are written using
"VB.Net"..... not even one company!
I realize many programmers Have used VB for years and feel a strong
attachment with It and Hate what MS did with it.But It is the future of
VB.

Only time will tell. Meanwhile, I have work to do... programming in VB
Classic.
Eventually I feel Microsoft will make the .net framework the only frame
work
for windows Not in the near further but at so point.

That's for sure.... and when that OS becomes popular, it will truly be the
end of Visual Basic. I feel that .Net's still in its infancy and resembles
Win3.1 running on top of DOS (I had that loaded for about a week)...
currently you have the .Net framework running on top of Windows. When they
get rid of the "running on top of" part of the description, things will
speed up and run more smoothly and it'll be about as different (hopefully,
improved) as Win95/NT4 was when compared to Win3.1/NT3.51(ick). I'm patient.
I'll wait. As Grandma used to say, "anything worth having is worth waiting
for" (that statement doesn't apply to waiting for a programming language to
populate a form though <g>)
 
So Rob Copeland Project Manager For VB.net who on the the .net show said he
helped develop vb 1,2,3,4,5,6, was full of shit.
 
Jim Burns said:
So Rob Copeland Project Manager For VB.net who on the the .net show said
he
helped develop vb 1,2,3,4,5,6, was full of sh1t.

Maybe I should've said "Completely different people in charge of the
development team" eh? Sure, there a few stragglers left. Besides... "Project
Manager" <> "Development Team". How much does your project manager actually
know about the product you're working on?
 
Jim said:
So Rob Copeland Project Manager For VB.net who on the the .net show said he
helped develop vb 1,2,3,4,5,6, was full of shit.


not in that specific detail.



Bob
--
 
Ken Have you every seen the video of vb.net on the .net show
If not- Its definitely worth watching .Believe it or not after watching the
video you come away with the impression the people who developed .net had
only the best intensions for the language. I haven't been doing this long
but from what I see they went more then a little to far.But I don't think
they expected the mass disproval.
 
I have a ? but it has nothing to do with the treeview but then again most of
the post don't.
I posted in VB.general but no answer anyway here's the post.

I'am Learning VB From Paul Sheriff's video ser.
I can create classes and collection classes but he doesn't tell me what
there used for.
If I could save them to a file and open them up in the form load I would see
many uses for them But is that possible? I was practicing with a basic
address book that you could scroll thru I wrote one when I was learning ADO
and it worked great and was good homework.
I was going to do the same with Collections. I get as far as entering all
the names in the address book at runtime and then scrolling thru them with
the Key's set to 1,2,3 and so on. But after the program is closed there all
gone.
I guess My Question is can they be saved to a file and are collections used
in this way,If not what are they for?
 
Jim Burns said:
Ken Have you every seen the video of vb.net on the .net show
If not- Its definitely worth watching .Believe it or not after
watching the video you come away with the impression the people who
developed .net had only the best intensions for the language. I
haven't been doing this long but from what I see they went more then
a little to far.But I don't think they expected the mass disproval.

The phrase "the road to hell is paved..." springs to mind
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top