NewInspector Event for outlook 2000 with word as HTML editor

  • Thread starter Thread starter Vishal Joshi
  • Start date Start date
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
 
You usually cannot handle NewInspector in Outlook 2000 with WordMail.
Nothing you can do about that.
 
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.
 
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.
 
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.
 
Back
Top