Click here to Skip to main content
15,896,730 members
Articles / Desktop Programming / Windows Forms

ListBox to TreeView Drag and Drop

Rate me:
Please Sign up or sign in to vote.
3.00/5 (18 votes)
23 May 2006CPOL6 min read 126.5K   3K   52  
In this article, we will learn how to drag an item from a ListBox and drop the dragged item to a TreeView. We will also discuss how to create a folder in a TreeView and delete the folder.
Microsoft Visual Studio Solution File, Format Version 7.00
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "TreeViewDragDrop", "TreeViewDragDrop.vbproj", "{D6697277-07B2-4647-94FF-E5C937525BDF}"
EndProject
Global
	GlobalSection(SolutionConfiguration) = preSolution
		ConfigName.0 = Debug
		ConfigName.1 = Release
	EndGlobalSection
	GlobalSection(ProjectDependencies) = postSolution
	EndGlobalSection
	GlobalSection(ProjectConfiguration) = postSolution
		{D6697277-07B2-4647-94FF-E5C937525BDF}.Debug.ActiveCfg = Debug|.NET
		{D6697277-07B2-4647-94FF-E5C937525BDF}.Debug.Build.0 = Debug|.NET
		{D6697277-07B2-4647-94FF-E5C937525BDF}.Release.ActiveCfg = Release|.NET
		{D6697277-07B2-4647-94FF-E5C937525BDF}.Release.Build.0 = Release|.NET
	EndGlobalSection
	GlobalSection(ExtensibilityGlobals) = postSolution
	EndGlobalSection
	GlobalSection(ExtensibilityAddIns) = postSolution
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
India India
IT Professional with interests in Software Development, Machine Learning, Data Science, Software Application Architecture.

Comments and Discussions