Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Treeview and hyperlink

Status
Not open for further replies.

VBXL

Programmer
Jul 10, 2001
198
GB
Hi,

Is there a way to click on a node in a treeview
that opens up a web browser.

i.e click on a node to open up
Thanks

VBXL

VBXL
 
Code:
    private void treeView1_AfterSelect(object sender, System.Windows.Forms.TreeViewEventArgs e)
    {
	if (e.Node.Text == "Microsoft")

	    System.Diagnostics.Process.Start("[URL unfurl="true"]http://www.microsoft.com/");[/URL]
    }
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top