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. .NET (Core and Framework)
  4. Raise VB6 event from C# Com (dll) [modified]

Raise VB6 event from C# Com (dll) [modified]

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpcomhelpquestion
3 Posts 2 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.
  • M Offline
    M Offline
    MayyMagdy
    wrote on last edited by
    #1

    Hi All, I implemented a C# class library and registered it to be visible for COM objects, then i used it from VB6 application and it works fine. Now the problem is that i want to raise an event in the .NET COM and pass it as an event in VB6. i.e. when the .NET COM catched an exception i want it to raise event in the VB6 application to log the event (because the logger works there). Any ideas? Thanks, Mayy

    modified on Wednesday, February 06, 2008 5:45:48 PM

    L 1 Reply Last reply
    0
    • M MayyMagdy

      Hi All, I implemented a C# class library and registered it to be visible for COM objects, then i used it from VB6 application and it works fine. Now the problem is that i want to raise an event in the .NET COM and pass it as an event in VB6. i.e. when the .NET COM catched an exception i want it to raise event in the VB6 application to log the event (because the logger works there). Any ideas? Thanks, Mayy

      modified on Wednesday, February 06, 2008 5:45:48 PM

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      MayyMagdy wrote:

      Any ideas?

      You need to implement a COM event.

      led mike

      M 1 Reply Last reply
      0
      • L led mike

        MayyMagdy wrote:

        Any ideas?

        You need to implement a COM event.

        led mike

        M Offline
        M Offline
        MayyMagdy
        wrote on last edited by
        #3

        Thank you. But this doesn't help :) how to implement it?

        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