How to: Work with Tree View control

  Рет қаралды 44,524

mkaatr

mkaatr

Күн бұрын

Пікірлер: 11
@splatmanoz
@splatmanoz 12 жыл бұрын
Very nice quick start on TreeView, which seems tio have very little in the way of teaching materials. Thank you.
@mkaatr
@mkaatr 14 жыл бұрын
@ddsharper Hi there... The reason for the error is that there is some kind of conflict in the naming. VB.NET uses the name space to distinguish between different libraries that have the same name. For example you can have : Module1.Test() Module2.Test() and you can still call any one of these even though they have the same name(Test). As for the error itself. I think if we use "System.Windows.Forms.TreeNode" it will be more correct and the error will be gone as well. yours
@imhackedagain
@imhackedagain 9 жыл бұрын
Would you know how to make like a hover bar over the image and text, well behind it, like custom hover bar. that follows the mouse, like the start menu does on Windows 7 in the list section, and I know it uses tree view in the big list "back list" section and I don't see that in my vb 2015. I am asking because I am trying to make my own start menu.
@mkaatr
@mkaatr 14 жыл бұрын
@ddsharper Hi there... long time no see. Hope you are doing fine. This error means that the compiler can't identify what this data type/class consist of and how to create it. This is kind of strange, since the Windows.Forms.TreeNode class is already provided for you to use. Can you give more details about it? For example, are you using this in a Module? a Class? and what is the Project Type you are using? is it a Class Library? Console App? or something else? yours.
@Mr22gang
@Mr22gang 12 жыл бұрын
Thanks! You solved my problem!
@MKhP7
@MKhP7 7 жыл бұрын
How to make this example in (VB 6.0)
@mkaatr
@mkaatr 14 жыл бұрын
@ddsharper Hi there... whenever you want to expand all the nodes, just call expandall. TreeView1.ExpandAll() you can call this method after filling the tree in the form load event to make sure that the tree nodes appear expanded.
@Robcerati
@Robcerati 10 жыл бұрын
So how do they get saved when the application is closed and then reopened.
@mkaatr
@mkaatr 10 жыл бұрын
Call the savetree function in the form_closing event of the main form. Call the loadtree function in the load event of the main form. savetree and loadtree saves and loads a tree to/from a file or database.
@charlesreycazares4387
@charlesreycazares4387 10 жыл бұрын
mkaatr Can you explain or do a video on how to save the treeview using my.settings (application settings) :)
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
How to create and use DLLs in VB.Net
13:13
mkaatr
Рет қаралды 91 М.
Treeviews and their Uses
33:42
AccessUserGroups.org
Рет қаралды 10 М.
How to use Microsoft Access - Beginner Tutorial
31:07
Kevin Stratvert
Рет қаралды 3,5 МЛН
TreeView Nodekey Userform Excel VBA
8:32
razakmcr
Рет қаралды 7 М.
Navigation Control : Tree View  and Menu in Asp.net using C#
7:42
Dhruvin Shah
Рет қаралды 60 М.
China's Hard Blow to Putin / Redistribution of Ukraine
13:58
NEXTA Live
Рет қаралды 322 М.
Visual Basic.net: Populate Treeview in VB.Net with Access database(with Source Code)
17:54
how to create an excel file in vb.net | create an excel file in visual basic.net
8:56
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН