How to run a Notes agent from within outlook

Hi there,

I need to launch a notes agent from within an outlook client.

Purpose is to ‘embed’ the outlook mail into a notes document.

So , i’ve written some code in Visual Basic to get an handle from within Outlook on a notes agent.

But when I call agent.run in the visual basic program, nothing happens. The program compiles without error and I also don’t recieve any errors when I execute the code.

The agent is located in a local db for testing, but it should also work for an agent which resides on the server.

Am I missing something ? Or is this not possible ?

Thanks for any help / info.

Maxime