Outlook word editor opens up in different VB application.

  • Thread starter Thread starter pareshtrivedi
  • Start date Start date
P

pareshtrivedi

I have an application written in VB where I use word automation to
manipulate word document. In outlook if I choose word as a editor for
e-mail message then e-mail opens up in my application's word session.
If I open outlook first then it creates it's own winword.exe. Next I
open my application where I open winword through automation it creates
it's own word application. Everything works fine (I see two instances
of winword.exe in task manager).

The only time it does not work is when my application is opened first
and then I open outlook the outlook uses my application's word session
so e-mail message shows up in my application (I see one instance of
winword.exe in task manager).

Is there anyway to create my own word session exclusively so that other
application don't use my word session?

Let me know if this is not the right newsgroup to post this kind of
problems.

Thanks in advance.
 
On 3 Aug 2005 12:28:48 -0700 (e-mail address removed) wrote:

Probably Word registers itself in the ROT (Running Object Table) from where
the GetObject references are coming.

Here´s a sample for registering objects in the ROT:
http://groups.google.de/group/micro...ject+group:*vb*&rnum=2&hl=de#eb24e12214c619b7

Maybe (!) it works if you start Word and unregister it from the ROT. But
also note: I´ve never tried this, maybe it´s impossible, maybe there´re evil
side effects...

If you like to try this way then a VB group could be your place to ask for
details.
 
Back
Top