COM wrapper around a .NET assembly

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Graham  Blandford

    #1

    COM wrapper around a .NET assembly

    Hi all,

    Wonder if anyone can point me in the right direction.

    Due to time-constraints, it looks lie I may have to abandon using VB.NET
    development in favour of my more familiar VB6 environment. The issue I have
    is, that I have to use a .NET assembly (DLL) to access data from a database.

    I understand it is possible to create a wrapper using COM which would then
    make it available to VB6. Although this isnt ideal, it might help me, in
    this partiular case, get to where I need to go a lot quicker. I'm not
    familiar with COM, but it may still be less of a learning curve than
    ..NET....

    Any help would be happily received.

    Thanks,
    Graham



  • JLW

    #2
    Re: COM wrapper around a .NET assembly

    Do a Google for COM Interop with VB.NET, you can compile your assembly to
    act as an ActiveX COM object that VB6 can use without a problem.

    HTH
    JLW

    "Graham Blandford" <graham.blandfo rd@sympatico.ca > wrote in message
    news:cAJtc.3636 8$sr3.1211452@n ews20.bellgloba l.com...[color=blue]
    > Hi all,
    >
    > Wonder if anyone can point me in the right direction.
    >
    > Due to time-constraints, it looks lie I may have to abandon using VB.NET
    > development in favour of my more familiar VB6 environment. The issue I[/color]
    have[color=blue]
    > is, that I have to use a .NET assembly (DLL) to access data from a[/color]
    database.[color=blue]
    >
    > I understand it is possible to create a wrapper using COM which would then
    > make it available to VB6. Although this isnt ideal, it might help me, in
    > this partiular case, get to where I need to go a lot quicker. I'm not
    > familiar with COM, but it may still be less of a learning curve than
    > .NET....
    >
    > Any help would be happily received.
    >
    > Thanks,
    > Graham
    >
    >
    >[/color]


    Comment

    • Val Mazur

      #3
      Re: COM wrapper around a .NET assembly

      Hi Graham,

      Check next KBs about it





      --
      Val Mazur
      Microsoft MVP


      "Graham Blandford" <graham.blandfo rd@sympatico.ca > wrote in message
      news:cAJtc.3636 8$sr3.1211452@n ews20.bellgloba l.com...[color=blue]
      > Hi all,
      >
      > Wonder if anyone can point me in the right direction.
      >
      > Due to time-constraints, it looks lie I may have to abandon using VB.NET
      > development in favour of my more familiar VB6 environment. The issue I
      > have
      > is, that I have to use a .NET assembly (DLL) to access data from a
      > database.
      >
      > I understand it is possible to create a wrapper using COM which would then
      > make it available to VB6. Although this isnt ideal, it might help me, in
      > this partiular case, get to where I need to go a lot quicker. I'm not
      > familiar with COM, but it may still be less of a learning curve than
      > .NET....
      >
      > Any help would be happily received.
      >
      > Thanks,
      > Graham
      >
      >
      >[/color]


      Comment

      Working...