View Single Post
  #8 (permalink)  
Old 03-16-2009, 11:22 AM
InertiaM InertiaM is offline
VB.NET Forum Idol
.NET Framework: .NET 2.0
 
Join Date: Nov 2007
Location: Kent, UK
Age: 39
Posts: 536
Reputation: 169
InertiaM puts e.f. hutton to shameInertiaM puts e.f. hutton to shameInertiaM puts e.f. hutton to shameInertiaM puts e.f. hutton to shameInertiaM puts e.f. hutton to shameInertiaM puts e.f. hutton to shame
Default

I'll start you off.

Code:
    Private Function CreatePropertyItem() As PropertyItem
        Dim ci As System.Reflection.ConstructorInfo = GetType(PropertyItem).GetConstructor(BindingFlags.NonPublic Or BindingFlags.Instance Or BindingFlags.Public, Nothing, New Type() {}, Nothing)
        Return DirectCast(ci.Invoke(Nothing), PropertyItem)
    End Function
Now you should be able to program or Google the rest
Reply With Quote