The new vbAccelerator Site - more VB and .NET Code and Controls
Source Code
3 Code Libraries &nbsp


 NOTE: this code has been superceded by the version at the new site.



&nbsp

IPerPropertyBrowse DLL and Type Library

Demonstration Project

Download the IPerPropertyBrowse code (20kb)

This excellent sample from Paul Wilde (prw.exponential@dial.pipex.com) shows you how to respond to property browse events in the VB IDE and customise the available items to pick from.

The sample includes:

  • A type library (OLETypes.tlb) exposing the IDispatch and IPerPropertyBrowsing interfaces to VB, including ODL source code.
  • Source for a Visual Basic DLL (EXPerProp.DLL) which wraps up the seriously tricky bits of getting VB to respond to the interface.
  • Two sample projects demonstrating the features of the DLL.
The first sample project shows you how to override the property browse display text with friendlier names.

The second sample project demonstrates how to provide a pick-list of objects on the control's form in the property browser.


TopBack to top
Source Code - What We're About!Back to Source Code

&nbsp
 

About  Contribute  Send Feedback  Privacy

Copyright © 1998-1999, Steve McMahon ( steve@vbaccelerator.com). All Rights Reserved.
Last updated: 23 November 1998