473,836 Members | 1,602 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

where is the Key in TreeView.NET?


hi
i working with TreeView in VB6, and have good Properity Named (Key)
with the Key i can goto Any Node i know hes Key.

but in VB.NET i can find the Key :(
please tell me where i can find the key in TreeView.Net...
-----------------------------------------------
Best Regards From Tark
Nov 21 '05
77 14460
On Mon, 27 Dec 2004 11:52:57 -0700, alpine <al************ ******@mvps.org > wrote:

¤ On Mon, 27 Dec 2004 12:23:22 -0600, Paul Clement
¤ <Us************ ***********@sws pectrum.com> wrote:
¤
¤ >¤ There is no such thing as VB7... VB6 was the last version available.
¤ >
¤ >For those in denial anyway. ;-)
¤
¤ No, only for those of us living in the real world. IOW, those of us
¤ who, unlike you, haven't been slurping up the KoolAid distributed by
¤ the VB# marketing/evangilisim team. ;-)

Uh huh. And I'll still be drinking the KoolAid long after the lights in your "real world" have been
extinguished and your temporary existence "in the dark" is rendered permanent. ;-)
Paul ~~~ pc******@amerit ech.net
Microsoft MVP (Visual Basic)
Nov 21 '05 #71
On Mon, 27 Dec 2004 15:03:50 -0600, Paul Clement
<Us************ ***********@sws pectrum.com> wrote:
in <vt************ *************** *****@4ax.com>
On Mon, 27 Dec 2004 11:52:57 -0700, alpine <al************ ******@mvps.org > wrote:

¤ On Mon, 27 Dec 2004 12:23:22 -0600, Paul Clement
¤ <Us************ ***********@sws pectrum.com> wrote:
¤
¤ >¤ There is no such thing as VB7... VB6 was the last version available.
¤ >
¤ >For those in denial anyway. ;-)
¤
¤ No, only for those of us living in the real world. IOW, those of us
¤ who, unlike you, haven't been slurping up the KoolAid distributed by
¤ the VB# marketing/evangilisim team. ;-)

Uh huh. And I'll still be drinking the KoolAid long after the lights in your "real world" have been
extinguished and your temporary existence "in the dark" is rendered permanent. ;-)
Paul ~~~ pc******@amerit ech.net
Microsoft MVP (Visual Basic)


Well Paul, I sure hope you enjoy jumping through all the hoops
that MS will undoubtedly (count on it) present you. For me, it's
not worth my time to continually help them to debug their
generally *crappy* code and ideas. Perhaps you'll have the
decency to publish a book that details all your travails, but
alas, I've no time to read it since I'm so busy trying to protect
my code assets from a corporation who's obviously decided that
it's developer base is second rate at best and that the only code
assets worth protecting are their own.

Good Luck, Sucker. And I mean that with all the vitriol I can
muster, which at this point in this obviously meaningless debate,
is nil, since I've moved on and for sure not to anything .NET.
ha ha.

For your sake, I'd honestly like you to have the last laugh
(seriously), but realistically speaking am sure that that will
never happen. Nobody, not even GOD, can walk all over people and
have them remain receptive unless they're complete idiots.
---
Stefan Berglund
Nov 21 '05 #72
On 2004-12-23, Bob Butler <ti*******@nosp am.com> wrote:
"smith" <rc********@smi thvoiceTAKEOUT. com> wrote in message
news:Y%******** *********@newsr ead1.news.pas.e arthlink.net
:)

Hi Again Ken & folks.
I have to say this is still a great thread.

I also have to say again, if you're a long time VB developer then you
remember the frustration of losing a lot of code and components in
the move from VB3 to VB4. All of your VBX investment was a waste


That was a downside, but there were OCX replacements for many.


Just as there are .NET replacements for many OCX components... And that's
ignoring the fact that almost all of your OCX components will work in
VB.NET.
and, in time, you found that making your own classes made a lot of
your old structured code un-worthy of cut&pasting into newer projects.


But that old 'structured' code still worked and you could bring the VB3 code
into VB4 and then begin to replace sections as desired.


With interop - you can essentially do the same thing... You can convert
your project in bits and pieces. A well structured VB6 program is not
as difficult to convert as you would like others to believe.
I remember those days just like you. I remember yelling in Redmond's
direction and feeling that I was caught in that line from All the
President's Men: "When you have them by the balls their hearts and
minds will follow." It appeared that MS had a radically new OS and
because they fully owned the Visual Basic product and knew that we
had no immediate alternative they could just force the migration and
we either had to stick with 16bit or eat our investments.


moving to the 32-bit OS was a hurdle but at least there was an underlying
justification for the majority of the changes. there is virtually no
justification for most of the changes required for VB.Net apart from some
misguided attempt to "clean up" the language


I agree that most of the changes made in VB.NET were not "necessary" in
the sense that they were required by the framework. But, I'm glad they
made the changes. Actually, I'm a little pissed still over the fact
that they caved on the stuff they did during the beta 2 rollbacks.
Especially the declaration of arrays and the handling of boolean.
Ten years later, the edge has softened and ten years later would you
still rather be working within the constraints of VB3... even though
back in the day you heard many of us loudly screaming that VB3 did
'everything we could ever think we would need to do' and howling that
'VB4 was a performace dog'?


No, evolution is a good thing and some bumps along the way are expected.
Putting up a brick wall and requiring major rewrites is a totally different
issue. And, like many, I toyed with VB4 to learn the new extensions but
didn't implement until VB5 came along and corrected the performance issues.
As stated early on, I've been working primarily with VB7


free clue, there's no such thing; there is a new language with a superficial
similarity
for over two years and with real experience I have seen that the

performance
issues of the betas are not part of the apps that I release. You get
better at your toolls the more you use them. Plus, also as stated
earlier, there are a number of major performance boosts in .Net2 for
VB8 (re-living the VB4 -> VB5 experience).


Too bad they so totally alienated such a large part of the VB developer
community
Threads tend to get into minutia, so I'll bite the "Sender as object"
spark: A number of VB developers in the past used Delphi to fill in
some of VBs gaps and "Sender as object" is nothing new to them,


maybe, but it would have been nice if they had concentrated on making it
"nothing new" to VB developers rather that prioritizing the Delphi crowd


The event model in .NET is way better then VB.CLASSIC and the "Sender as
object" thing is part of that improvement.
plus (speaking only for myself, a dedicated VB developer) when I first
started using VB7 and from real work figured out that "Sender as
object" gives you some nice optional flexibility for centralizing
code I was happy that "that delphi crap" was in VB7;


Yes, it would have made a nice extension. As a replacement for thousands of
lines of existing code it simply bites.
I'm sure that I
my words won't convince anyone because no one could convince me with
just words and I had to figure it out by actually using 7 for real
projects instead of just scanning someone elses' sample code or doing
one-off tests.


C# has some nice features; there's just no point in putting a VB-ish skin
over that


Some people prefer it... There are things that are easier to do in
VB.NET then in C#. Such as latebound code, for one example.
Anyway, there is nothing new under the sun. VB7 to me is VB4 all
over again and while it is a pain to many in and of itself, us old-
timers who have learned to see patterns can see that VB8 has a good
chance of being the serious tool that VB5/6 was in it's day.


Good luck. You will need it when .Next is released.


Why? 1.0 and 1.1 code will run on 2.0.
One last because it's a shame that no one ever goes back and reads
threads from the top (and the new google groups format makes it even
less likely that anyone will). Using VB7 is not an all or nothing
choice. VB6 and VB7 work seemlessly together


ROTFLMAO


What's that supposed to mean? It's true. You can create code that in
VB.NET that can be consumed by VB6. And you can consume code created in
VB6 in VB.NET. I know - I've done it. I've used lots of my old VB6
libraries from C# and VB.NET - so I'm not sure what your on about here.

--
Tom Shelton [MVP]
Nov 21 '05 #73
On Mon, 27 Dec 2004 14:34:19 -0800, Stefan Berglund <ke****@in.theg roups> wrote:
¤ >¤ No, only for those of us living in the real world. IOW, those of us
¤ >¤ who, unlike you, haven't been slurping up the KoolAid distributed by
¤ >¤ the VB# marketing/evangilisim team. ;-)
¤ >
¤ >Uh huh. And I'll still be drinking the KoolAid long after the lights in your "real world" have been
¤ >extinguished and your temporary existence "in the dark" is rendered permanent. ;-)
¤ >
¤ >
¤ >Paul ~~~ pc******@amerit ech.net
¤ >Microsoft MVP (Visual Basic)
¤
¤ Well Paul, I sure hope you enjoy jumping through all the hoops
¤ that MS will undoubtedly (count on it) present you. For me, it's
¤ not worth my time to continually help them to debug their
¤ generally *crappy* code and ideas. Perhaps you'll have the
¤ decency to publish a book that details all your travails, but
¤ alas, I've no time to read it since I'm so busy trying to protect
¤ my code assets from a corporation who's obviously decided that
¤ it's developer base is second rate at best and that the only code
¤ assets worth protecting are their own.
¤
¤ Good Luck, Sucker. And I mean that with all the vitriol I can
¤ muster, which at this point in this obviously meaningless debate,
¤ is nil, since I've moved on and for sure not to anything .NET.
¤ ha ha.
¤
¤ For your sake, I'd honestly like you to have the last laugh
¤ (seriously), but realistically speaking am sure that that will
¤ never happen. Nobody, not even GOD, can walk all over people and
¤ have them remain receptive unless they're complete idiots.

Well I guess if you feel you've been screwed then you probably have. The only
suckers are the those who continue to stew about it. ;-)

Hey, you can either remain permanently disappointed or move on to something new
that at some point in the future may or may not disappoint you again. That's
life, whether you choose to embrace it...or not.
Paul ~~~ pc******@amerit ech.net
Microsoft MVP (Visual Basic)
Nov 21 '05 #74
[crossposts heavily pruned]
Tom Shelton wrote:
On 2004-12-23, Bob Butler <ti*******@nosp am.com> wrote:
"smith" <rc********@smi thvoiceTAKEOUT. com> wrote in message
news:Y%****** ***********@new sread1.news.pas .earthlink.net
One last because it's a shame that no one ever goes back and reads
threads from the top (and the new google groups format makes it even
less likely that anyone will). Using VB7 is not an all or nothing
choice. VB6 and VB7 work seemlessly together


ROTFLMAO

What's that supposed to mean? It's true. You can create code that in
VB.NET that can be consumed by VB6. And you can consume code created in
VB6 in VB.NET. I know - I've done it. I've used lots of my old VB6
libraries from C# and VB.NET - so I'm not sure what your on about here.


I think he's laughing because the previous poster not only shared your
laughably unsupportable definition of "seamless" but also
used a spelling that was ... interesting ... on its own.

If it were actually supportably worthy of the word "seamless", then
there never could have been any use (much less NEED) for words like
"interop" or "wrapper"

Bob
Nov 21 '05 #75
On Mon, 27 Dec 2004 15:03:50 -0600, Paul Clement
<Us************ ***********@sws pectrum.com> wrote:
On Mon, 27 Dec 2004 11:52:57 -0700, alpine <al************ ******@mvps.org > wrote:

¤ On Mon, 27 Dec 2004 12:23:22 -0600, Paul Clement
¤ <Us************ ***********@sws pectrum.com> wrote:
¤
¤ >¤ There is no such thing as VB7... VB6 was the last version available.
¤ >
¤ >For those in denial anyway. ;-)
¤
¤ No, only for those of us living in the real world. IOW, those of us
¤ who, unlike you, haven't been slurping up the KoolAid distributed by
¤ the VB# marketing/evangilisim team. ;-)

Uh huh. And I'll still be drinking the KoolAid long after the lights in your "real world" have been
extinguished and your temporary existence "in the dark" is rendered permanent. ;-)


Sorry, Paul, that's just the KoolAid talking. Come back when you've
sobered up. ;-)

HTH,
Bryan
_______________ _______________ _______________ _______________
New Vision Software "When the going gets weird,"
Bryan Stafford "the weird turn pro."
al************* *****@mvps.org Hunter S. Thompson -
Microsoft MVP-Visual Basic Fear and Loathing in LasVegas
Nov 21 '05 #76
On Tue, 28 Dec 2004 13:07:45 -0700, alpine <al************ ******@mvps.org >
wrote:

¤ On Mon, 27 Dec 2004 15:03:50 -0600, Paul Clement
¤ <Us************ ***********@sws pectrum.com> wrote:
¤
¤ >On Mon, 27 Dec 2004 11:52:57 -0700, alpine <al************ ******@mvps.org > wrote:
¤ >
¤ >¤ On Mon, 27 Dec 2004 12:23:22 -0600, Paul Clement
¤ >¤ <Us************ ***********@sws pectrum.com> wrote:
¤ >¤
¤ >¤ >¤ There is no such thing as VB7... VB6 was the last version available.
¤ >¤ >
¤ >¤ >For those in denial anyway. ;-)
¤ >¤
¤ >¤ No, only for those of us living in the real world. IOW, those of us
¤ >¤ who, unlike you, haven't been slurping up the KoolAid distributed by
¤ >¤ the VB# marketing/evangilisim team. ;-)
¤ >
¤ >Uh huh. And I'll still be drinking the KoolAid long after the lights in your "real world" have been
¤ >extinguished and your temporary existence "in the dark" is rendered permanent. ;-)
¤
¤ Sorry, Paul, that's just the KoolAid talking. Come back when you've
¤ sobered up. ;-)

And it's soooo goooooooood! :-9
Paul ~~~ pc******@amerit ech.net
Microsoft MVP (Visual Basic)
Nov 21 '05 #77
On Tue, 28 Dec 2004 11:24:48 -0800, Bob O`Bob <fi*******@yaho ogroups.com> wrote:

¤ [crossposts heavily pruned]
¤
¤
¤ Tom Shelton wrote:
¤
¤ > On 2004-12-23, Bob Butler <ti*******@nosp am.com> wrote:
¤ >
¤ >>"smith" <rc********@smi thvoiceTAKEOUT. com> wrote in message
¤ >>news:Y%****** ***********@new sread1.news.pas .earthlink.net
¤
¤
¤ >>>One last because it's a shame that no one ever goes back and reads
¤ >>>threads from the top (and the new google groups format makes it even
¤ >>>less likely that anyone will). Using VB7 is not an all or nothing
¤ >>>choice. VB6 and VB7 work seemlessly together
¤ >>
¤ >>ROTFLMAO
¤ >
¤ >
¤ > What's that supposed to mean? It's true. You can create code that in
¤ > VB.NET that can be consumed by VB6. And you can consume code created in
¤ > VB6 in VB.NET. I know - I've done it. I've used lots of my old VB6
¤ > libraries from C# and VB.NET - so I'm not sure what your on about here.
¤ >
¤
¤ I think he's laughing because the previous poster not only shared your
¤ laughably unsupportable definition of "seamless" but also
¤ used a spelling that was ... interesting ... on its own.
¤
¤ If it were actually supportably worthy of the word "seamless", then
¤ there never could have been any use (much less NEED) for words like
¤ "interop" or "wrapper"
¤

And to think that we've been using COM interop and wrappers all these years with
Classic VB, but for some reason it's a "bad thing" to use in .NET...at least
according to the *strictly* Classic VB folks. ;-)
Paul ~~~ pc******@amerit ech.net
Microsoft MVP (Visual Basic)
Nov 21 '05 #78

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
4416
by: Hrvoje Voda | last post by:
What is wrong in this code? private void tree_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e) { if (e.KeyCode == Keys.Enter ) {
6
4936
by: L.M | last post by:
Hello, I knew how to use the treeview under VB6. After migrating to .NET, well, I'm lost. I try to add a new node, either to the same level or as a child to a selected node in the treeview. However, either it only add it to the root level or it only add it on level below, doesn't matter what I select. And in some case, I just get an exception.
14
15107
by: Mr.D | last post by:
How do I save/load the contents of a Treeview to a file? I have found several good examples written i VB6, but not a single one for VB.NET. Please help. ---- Tim
2
7504
by: Tymbow | last post by:
I'm building a web application that is analogous to the Windows XP file explorer in function. The left column contains a TreeView, and the right column a DataGrid populated by selecting TreeView nodes. The TreeView populates dynamically as there are a significant number of nodes. The DataGrid displays both the items and the nodes from the TreeView. Using the explorer analogy this means the TreeView shows folders, and the DataGrid folders...
1
2568
by: musosdev | last post by:
Hi guys I was using the Microsoft.Web.UI.WebControls extra namespace in my application to provide me with a TreeView control. I was using specifically ..GetNodeFromIndex(), SelectedNodeIndex and NodeData. All 3 of which are now giving errors is the new Asp.net TreeView. I'm found the Value property which replaces NodeData, but what about GetNodeFromIndex and SelectedNodeIndex. Are they just... gone!? :(
1
693
by: kvicky | last post by:
I am trying to load child nodes to a TreeNode in a TreeView in a ASP.net web application. The Treeview with parent nodes are loaded on a Page_load while doing if( ! ISPostback ) and then in the Treeview event I am dynamically trying to load the child nodes to the exisisting TreeView. The problem is since the TreeView is being loaded on not a Postback, I am unable to refer to any node in the TreeView event. Can anybody tell me how to...
1
3657
by: Victor Rodriguez | last post by:
Is there a way that I can have a client side event like oncontextmenu="showfunction();" on each node? thanks, Victor
8
12788
by: Matt MacDonald | last post by:
Hi All, I have a form that displays hierarchical categories in a treeview. Ok so far so good. What I was to do is have users be able to select a node in the treeview as part of filling out the form. I only want to allow single selection, so using checkboxes is out of the question. It works as is, but it makes the form very cumbersome if every time that a user selects a node, the whole page has to reload. Is there a way to have a node...
2
1560
by: casManG | last post by:
I am working on a small project that uses the treeview control in .net 2003. I have a tree view that I am sending to a sub in order to iterate through the nodes. Public Sub test (ByVal inTreeView as Tree View) But, the thing I want to do with the inTreeView requires me to expand all the nodes before I iterate. The problem is that when the sub is complete, the original tree view on my form ends up with all of the nodes expanded I had...
0
9673
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10602
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10260
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9388
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6984
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4463
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4023
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3116
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.