Results 1 to 3 of 3

Thread: event to activex/Com object/application or the other way around

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2002
    Posts
    52

    event to activex/Com object/application or the other way around

    Is there anyway for a application to catch an event from another application (or activex/COM object) without the applications "knowing" about each other?? What I mean is can application number 2 just send out a public event of some kind that can be caught by any other application? If this doesn't work how do I catch a event from for example another application in the same probject?! Atleast in .NET you you won't find the other application on the list that appears after typing for example:
    "Private WithEvents myEventName As " <- a list will appear and I'd like to choose the form from the other application but it ain't available. I guess it's the same problem with catching events from an activex component!? Does anyone know what to do?

  2. #2
    Hyperactive Member
    Join Date
    Apr 2002
    Location
    uk
    Posts
    327
    Since events are entirely dealth with via code, there's no way to hook into another processes memory with VB, so no, you can't catch them. Even if you could manipulate the memory, I'm still pretty sure you couldn't.

  3. #3

    Thread Starter
    Member
    Join Date
    Jun 2002
    Posts
    52
    Thanks! Atleast now I know it isn't possible so I can stop my brooding.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width