Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Converting Array list to VBA.Collection in c#

Converting Array list to VBA.Collection in c#

Scheduled Pinned Locked Moved C#
csharpdata-structures
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kjsl2k9
    wrote on last edited by
    #1

    Hi, I want to pass the ArrayList to a function which is having the VBA.Collection as paramater in some dll.How can it be done.

    D L 2 Replies Last reply
    0
    • K kjsl2k9

      Hi, I want to pass the ArrayList to a function which is having the VBA.Collection as paramater in some dll.How can it be done.

      D Offline
      D Offline
      dan sh
      wrote on last edited by
      #2

      I think you can use the MSVBVM60.dll to create the VBA collection (COM interop). Since I have never done it myself, cannot think of a decent solution.

      1 Reply Last reply
      0
      • K kjsl2k9

        Hi, I want to pass the ArrayList to a function which is having the VBA.Collection as paramater in some dll.How can it be done.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        kjsl2k9 wrote:

        I want to pass the ArrayList to a function which is having the VBA.Collection as paramater in some dll.How can it be done.

        Instantiate the class on the VB6-side and pass it to .NET. The KB[^] holds the details on how to do so.

        I are Troll :suss:

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups