![]() |
Click here to advertise with us
|
|
|||||||
| Listviews / Treeviews Anything related to listview and treeview components |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hello sir,
I want similar coding for treeview, where for linklabel is as follows. Code:
Private Sub LinkLabel8_LinkClicked(ByVal sender As System.Object, ByVal e As System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles LinkLabel8.LinkClicked
WebBrowser1.Navigate(Application.StartupPath & "\source\test.html\")
End Sub
|
|
||||
|
Here is help online, you should also have it in local help: TreeView Class (System.Windows.Forms)
You can use the default AfterSelect event (doubleclick the control), where you get the node info from e.Node.
__________________
Some useful links: Learning videoes, Code Samples, WMI Code Creator, MSDN, The Code Project, WindowsClient.net, ASP.net, W3 Schools, Regular-Expressions.info, GDI+ FAQ
How to format posts with code blocks etc - present the problem/post properly ![]() |
|
|||
|
I solved this, use file name in the tag with this extension and use the below coding
Code:
WebBrowser1.Navigate(Application.StartupPath & "\Source\" & e.Node.Tag) |
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|