I am now working with Item. I noticed that Item. WordEditor is also null. I tried the Mailitem. Send-Event and it didn't work. Only once of a few tries the MailItem. MailBody wasn't null. Is it possible that another addin still holds a reference of the WordEditor or similar so our addin can't get the object? First we accessed the mailItem. WordEditor was null. Do you know if Outlook uses an instance of the installed Word version or is there a lite Word within Outlook for the WordEditor?
I will see what is different to the other machines and keep you updated if I have found a solution. You should always start a new thread, not piggyback on an existing closed thread. That said, you haven't provided any information that could help us assist you. What version of Outlook? Do you have Word installed at all, from the same Office version as Outlook?
Are you trying to handle the Inspector. Activate event? Are you subscribing to it in the Inspectors. NewInspector event? Ask a question. Quick access. Search related threads. Remove From My Forums. Answered by:. Archived Forums. Rahman 0. Sign in to vote. Thanks in advance Edited by Jahedur. Rahman Wednesday, November 16, AM. IsNullOrEmpty mailItem. SafeInspector ;. Show "The message must have a subject" ;. FocusControl rdoOutlookAutomationControl.
MailSubjectEdit ;. SafeInspector object. Derived from : IDispatch. This is the equivalent of the Inspector. Variant 32 or 64 bit integer depending on the the bitness of the library. Returns the Window handle of the Explorer window. Returns or sets the Outlook. Explorer object to be used with the SafeExplorer Redemption object.
Returns SafeRibbon object representing the Ribbon pane of the Inspector window in Outlook or higher. Forum list. Search forums. Log in. Install the app. For a better experience, please enable JavaScript in your browser before proceeding. You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser. WordEditor always returns null. Status Not open for further replies.
The Add-In uses the shim provided my Microsoft for developing add-ins. Here's a snippet of the code GetInspector; Microsoft. Document oi. WordEditor; I need to position the cursor at a certain location in a part of message body I populate when the mail item is created, hence why I need access to the WordEditor Any help greatly appreciated Hi Peter, Outlook version you want to work with? In Outlook I've found that until the first Inspector. That's especially the case if you try to get those during NewInspector.
Hi Ken, Yes it is Outlook I am having the same problem after the upgrade to wiht outomation that I had in place with NewInspector event My work-around was the following: 1 Use NewInspector event to set local class variable to the inspector 2 Define the Activate event for the new inspector variable. Similar threads. Using Outlook 8 Apr 9, 2 How to use outlook calendar in always offline mode Using Outlook 0 Dec 13, L Oulook always "disconnected" how do I keep it open all of the time?
Using Outlook 1 Jun 25, S Please help! Using Outlook 1 Jun 13, Similar threads T. Started by Marek Mar 26, Replies: 0.
Modal form is not properly working on inspector Started by nitwalke gmail. Get Inspector Ptr In Outlook Nov 26, Replies: 4. Error on Inspector. Close Started by Synced Nov 18, Replies: 4. How to find mailitem in the inspector is a brand new one Started by vema Oct 28, Replies: 2. How to get the path from an outlook.
Inspector Started by blackjazz Oct 23, Replies: 4. How to get active inspector window handle? Started by madhavi Oct 12, Replies: 3. Quick access toolbar in inspector window Started by Saeed Aug 26, Replies: 3. Using Ribbon in Inspector window Started by tnemec78 googlemail.
Started by AlanBru Apr 8, Replies: 3. Using Outlook. Started by KadamWiser May 8, Replies: 4.
0コメント