Sorry, I did not finish that post.  This is basically what I wanted to say:

The FCL includes an IDIctionary interface.  It also exposes the Hashtable
object.  I took advantage of the fact that Hashtable implements
IDictionary.  The csharp control was expecting an IDictionary in the
property set() statement.

So my code looked something like this:


    Set dict = New mscorlib.Hashtable

    {fill dict with values here}

    Dim idict As mscorlib.IDictionary
    'This "casting" was necessary; the VB won't compile unless it is done
    Set idict = dict
    Set csharpproj.object.idictproperty = idict

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to