#vbcode
Explore tagged Tumblr posts
dondarfsnowbonk · 1 year ago
Text
I think my favorite thing about this is that derek fucked up the vbcode for his sig
Tumblr media Tumblr media Tumblr media Tumblr media
felt a little silly and wanted to make new character bios for my neopets
5K notes · View notes
skotechlearn · 5 years ago
Text
Design TreeView as FilesExplorer with Drives and Folders Using VB.Net
Here you can find Simple Tips to Create or Design TreeView as FileExplorer with showing Drives and related Folders and related files. SKOtechLearn Describe this process in VB Code and C# code in VB.Net.
Design Listview as File Explorer with Showing Icons and Details.
You simply Get Following Point.
Show Drives with Folders and File in TreeView in VB.Net (VB, C#)
Get TreeView Selected Node Path in Label VB.Net (VB, C#)
Tumblr media
if you want to show Drives in TreeView simply write following Code:
VB.Net :
Private Sub ExplorerBtn_Click(sender As Object, e As EventArgs)  'Clear TreeView  MytrView1.Nodes.Clear()  'Loop For Get Drives  For Each myDrives As System.IO.DriveInfo In System.IO.DriveInfo.GetDrives()     Dim myDrivesNode As TreeNode = MytrView1.Nodes.Add(mydrives.Name)     'Adding "Expand" string is use for Add Expand "[+]" option on Drives     myDrivesNode.Nodes.Add("Expand")  Next     End Sub
C# :
private void ExplorerBtn_Click(object sender, EventArgs e) {    //Clear TreeView    MytrView1.Nodes.Clear();    //Loop For Get Drives    foreach (System.IO.DriveInfo myDrives in System.IO.DriveInfo.GetDrives())    {       TreeNode myDrivesNode = MytrView1.Nodes.Add(myDrives.Name);       //Adding "Expand" string is use for Add Expand "[+]" option on Drives       myDrivesNode.Nodes.Add("Expand");    }  }
And many more thing you can Find in TreeView As FileExplorer.
You can also Find how to Get Selected Node Path in label Using VB.Net and C# code.
Tumblr media
0 notes