Skip to content

Instantly share code, notes, and snippets.

Avatar

Chris Ramacciotti christherama

View GitHub Profile
@christherama
christherama / FrmKitchenSink.vb
Last active Aug 29, 2015
Visual Basic TreeView Example
View FrmKitchenSink.vb
Private Sub TvFileNav_BeforeCollapse(ByVal sender As Object, ByVal e As System.Windows.Forms.TreeViewCancelEventArgs) Handles TvFileNav.BeforeCollapse
e.Node.Nodes.Clear()
e.Node.Nodes.Add("")
End Sub
Private Sub TvFileNav_BeforeExpand(ByVal sender As Object, ByVal e As System.Windows.Forms.TreeViewCancelEventArgs) Handles TvFileNav.BeforeExpand
' clear the expanding node so we can re-populate it, or else we end up with duplicate nodes
e.Node.Nodes.Clear()
' Get the directory representing this node
@christherama
christherama / gist:9117398
Created Feb 20, 2014
Stacktrace for OverlappingFileLockException
View gist:9117398
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'hello-world'.
> Could not open no_buildscript class cache for build file 'D:\gradle-playground\hello-world\build.gradle' (\\omafp01.co
rp.planetci.com\ramc01\.gradle\caches\1.11\scripts\build_5trnq1oe4m84o6rmggev8gku4t\ProjectScript\no_buildscript).
> java.nio.channels.OverlappingFileLockException (no error message)
* Try: