NewInspector Event for outlook 2000 with word as HTML editor

V

Vishal Joshi

The NewInspector Event of Inspectors doesn't trigger when i select HTML
WIth Word Editor Option for Outlook 2000.
But without word editor option it works fine.
How to handle that event for HTML with word Editor (outlook2000)?
Any Help?

My code is............

Private WithEvents colInsp As Outlook.Inspectors


Private Sub IDTExtensibility2_OnConnection( _
ByVal Application As Object, ByVal ConnectMode As _
AddInDesignerObjects.ext_ConnectMode, _
ByVal AddInInst As Object, custom() As Variant)

Set OLApp = Application
Set colInsp = OLApp.Inspectors

End Sub


Private Sub colInsp_NewInspector(ByVal Inspector As Outlook.Inspector)

'code...................

end sub
 
K

Ken Slovak - [MVP - Outlook]

You usually cannot handle NewInspector in Outlook 2000 with WordMail.
Nothing you can do about that.
 
V

Vishal Joshi

Ken said:
You usually cannot handle NewInspector in Outlook 2000 with WordMail.
Nothing you can do about that.


Hi Ken,
Thanks for ur time.
I just want the event when the word message window is opened.
Using which i'll open my custom HTML form.
Please Help.
 
V

Vishal Joshi

Hi Ken,
Thanks for ur time and reply.
Can I get the document open event so that I can use it for displaying
my custom form.
Please help.
 
K

Ken Slovak - [MVP - Outlook]

As I said there is no NewInspector event so you cannot do what you want from
within Outlook. About all you could do is use a Word addin also and check
for Document.Activate or whatever it's called and decide if that was a mail
item and try to somehow notify your Outlook code. Not a pretty solution.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top