473,749 Members | 2,411 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

tree view control in windows

13 New Member
hi,

i am working on a windows application in visual studio 2005. i am using a tree view control in one of the forms.this tree view has many nodes such as a,b,c.
now i want the nodes a,b,c to redirect to other forms in my application.how do i do this?how do i make my nodes as a link which will redirect to other pages.

Thanking in advance.
Jan 3 '08 #1
3 1227
kenobewan
4,871 Recognized Expert Specialist
Here is an article that may help:
IE control treeview with link node (C#)
Jan 3 '08 #2
anithaa
13 New Member
Here is an article that may help:
IE control treeview with link node (C#)

thank you for the link. but this one is for web applications.i am creating a windows application using c#.can u tell me for windows application as to how i should go about doing this?thanking in advance
Jan 3 '08 #3
CyberSoftHari
487 Recognized Expert Contributor
You can use property
Expand|Select|Wrap|Line Numbers
  1. private void treeView1_AfterSelect(object sender, TreeViewEventArgs e)
and to get any node use
Expand|Select|Wrap|Line Numbers
  1. e.Node
Note: Try your self and post your query.
Jan 3 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
2277
by: WindAndWaves | last post by:
Hi Gurus Most of you will be aware of the use of a tree view type menu/control that is used in windows explorer, the windows start button, register editor, etc.... etc.... It allows you to display hundreds of items that are accessible for the user with a couple of little clicks. I know that there are some active X objects and the like that you can use to get an "tree object" as described above, however, none of them is really access...
3
19459
by: Angapparaj K via .NET 247 | last post by:
Hi, Iam trying to create a custom tree view control in thich i needto display images for some of the nodes. The images need on theright side of the nodes. Is there any way to do this besideshandling the windows notification messages? even if possibleonly thro windows messages, can some one guide me to some csharp code implementing something similar. yours, K.Angapparaj -------------------------------- From: Angapparaj K
2
1121
by: Samridhi Kumar Shukla | last post by:
Can anybody tell me how to use asp.net tree view web control
10
2528
by: dwok | last post by:
Does anyone know of a good article that discusses creating a "Tree View" control in ASP.NET? Or perhaps a Tree View Control that comes with source code? I have come across a lot of tree controls for ASP.NET however most of them are already compiled and don't come with source code. I am really just looking for an example on how to create my own Tree Control. Thanks a bunch.
1
7348
by: kjon | last post by:
Hi, I'm doing a tree view which will show the file structure in an FTP server. How can I get the standard windows icons for folders and files and display them in the tree view control? Do I need to find the particular image file, the save them in the image list, or can I get the image file in runtime based on the user PC? Please advice. Thanks.
0
1034
by: =?Utf-8?B?ZGF2aWQ=?= | last post by:
Hi, I want to develop a web service client (windows form) that receives an XML file which describes a local file substructure rooted from a path. The client will use tree control generated by the XML file such that control nodes map to the XML nodes. From tree view control node navigation, we can get XML node and path that we want. Any one knows a tutorial about it?
4
4260
by: shinichi81 | last post by:
Could anyone help me? After updating icon for a drive, for example C drive by specifying icon file at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\C\DefaultIcon, I want to refresh at Windows Explorer and below is processing flow: - Read a metrics value, for example "Shell Icon Size" at HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics - Decrease icon size by 1 - SendMessage(HWND_BROADCAST, WM_COMMAND,...
0
702
by: Muhammad Shabbir | last post by:
I faced problem similar to that of Loren Baker. I am developing a course timetable using Genetic Algorithm approach. I have cretaed a class named primitiveGA and instantiated an object of that class as pGA. I pass data as treenode to createinitialpop method of pGA and read that tree through initialpopulation property of pGA. I then try to assign that tree to the treeview already placed on my form named tvwInitialPop. The...
1
2967
by: =?Utf-8?B?UHJhZGVlcCBFYXJsYQ==?= | last post by:
Hi I am having one windows application on my local machine and I want to display the folders(shared folders) of remote machine in tree view control of my win application. I haved added me as administartor in that remote machine. The following is my requirement. 1)The Application should show a tree view and a list view. 2) Tree view should show the folder structure and List view should list the
0
9566
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9388
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9254
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...
1
6800
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6078
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
4608
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...
0
4879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3319
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
3
2217
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.