How can I do find and highlight text in outlook - outlook-addin

I am developing outlook web-Addin visual studio share point developing tool.i want to find a specific word in the document and highlight that word.

#Vishnu Kay Vee
Currently the feature you requested is not a part of the product. However, we track Outlook add-in feature requests on our user-voice page. Please add your request there. Feature requests on user-voice are considered when we go through our planning process.
[Outlook Add-ins Engineering Team]

In the email message or item you're creating, on the Format Text tab, in the Editing group, choose Find.
In the Find what box, type the text that you want to search for.
Choose Reading Highlight > Highlight All.
Note: To turn off highlighting on the screen, choose Reading Highlight > Clear Highlighting.
This link will help you about Find and replace text within an email message or item: https://support.office.com/en-us/article/find-and-replace-text-within-an-email-message-or-item-ee05a4ac-6c30-4687-8098-84f4390d2d6f

Related

Creation of an unique link to an outlook e-mail

Background:
Since all tasks, are more or less assigned per E-mail I want track the e-mail via a link in other programs (Project, Planner, Word, Excel, OneNote, ect). This should be possible via the globally unique identifier GUID of the Outlook message & the Outlook URL Protocol.
I can only find instructions on this for older versions - which does not work.
BTW: Tracking via searching on subjects is a pain, since subject changes and conversation history can be long.
Question:
How do generate a link to the e-mail in outlook 365 which is unique and can be opened in other programs (Project, Planner, Word, Excel, OneNote, ect)?
There are other ways possible? Add-in?
This should be It should be possible!
However I do not know how it works with Office 365 --> Pls see following website:
https://www.davidtan.org/create-hyperlinks-to-outlook-messages-folders-contacts-events/
Excerpt out of it:
The Windows operating system recognizes the outlook: tag and whenever it sees that it’s part of a link, it triggers outlook to do something. Depending how you format the hyperlink, you can open messages, folders, contacts and meetings stored in outlook from websites, documents (Word, OpenOffice etc), Excel spreadsheets and powerpoint presentations stored either locally or even over a shared network.
How To Link To Outlook Items:
Outlook Paths
Outlook provides a way to link to any Outlook item using a URL. It can be “path based” like this:
– Outlook:Inbox\
– Outlook:Personal Folders\Contacts\~John Doe
Outlook GUID
You can link to a globally unique identifier (GUID) that is created for an item and doesn’t change when you rename or move it:
– Outlook:000000000EAE44933247899468AC478B81C0BANDHEWR324
It is best to use the GUID URL since you don’t have to worry about changes breaking the link.
If you are after a outlook message, all you have to do is select that message in outlook, and then left-click on the linker icon on the lower right of the taskbar so that the link will get copied. Next, you will just have to paste it somewhere. It works the same way for contacts and even calendar events.
By default, the copied link will be something like this
Email subject here
If you are building a webpage using HTML, then you can merely copy and paste that code to the HTML file, and maybe just changing the link text.
However, if you are working in Excel, what is important is only the part that says:
Outlook:00000000CC63759F18171E46835E96E44971FDFB07006446
In Excel, press CTRL-K in a cell, enter any text you want to be displayed, and paste that piece of code above (ex. outlook:123437654) at the address section. That’s it.
However it does not work with OFFICE 365. May you can help me?
KR Christian

OneNote 2016: How to: selected text in a page & subscribe to the onClick event

I want to implement a COM OneNote Add-In (for OneNote Desktop) with the following functionality:
User selects some text and then clicks the FORMAT button exposed by the add-in: the add-in will format the selected text in some specific way (e.g. surround the text with "<<>>" and change its background and foreground color.
Later on when the user clicks on a text that was formatted as described above the add-in kicks in and copies the text in clipboard
I am new to COM add-ins, and I wasn't able to find a good API documentation. I've started with VanillaAddIn (https://github.com/OneNoteDev/VanillaAddIn) and now I need to add my functionality. I would really appreciate any help with the following:
How to get the selected text from a page?
How to subscribe to the OnClick event?
Is there a good/decent OneNote API documentation? I found some links but I still hope there is a better one that I missed so far.
To get selected text from a page, look at the GetPageContent API. You can see it used here: https://github.com/OneNoteDev/VanillaAddIn/blob/master/VanillaConsole/Program.cs
From the page content xml, you can find some elements that are "selected".
OnClick event: There's no way to know when someone clicks on some text on the page, unfortunately.
One site that can help with parsing the page content is the OneNote XSD. Here: https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/63/17/0336.OneNoteApplication_2013_xsd.txt

Embedding Word Object into VB.Net Winform

I wondering if its possible to use Microsoft Word as a text editor in a VB.Net project?
My project currently uses a Rich Text Box to allow the user to right a report which is then saved and a report generated. I was wondering if i could switch to Word for better formatting and layout options, be it embedded in the actual form or in another form thats called (if that makes it easier to assign the control).
I have worked on opening Word itself via a button click but would like to have it incorporated in the project. All users that would actually use the program would have one of the more recent versions of word installed.
Any pointers to websites would be great as i'm constantly searching but not getting very far
Thanks

How do I add multiple hyperlinks in a Label control in Windows Forms in Visual Basic 2008

In a label box, I want to list a couple of websites, email address along with some text. How do I go about it?
Potential uses-
As a Help > About dialog box where websites, email of the author can be listed.
Why?
To make things as easy as possible for the user, and encourage visiting of the mentioned websites.
Simple text will be ignored, while standard blue color, underlined text with hand mouse-cursor will need no thinking on user's part.
The LinkLabel.Links property gives you the ability to add multiple links.
To quote the page:
A LinkLabel control can display any
number of links within the text of the
control.

Using VSTO to perform an action via selected e-mail text in Outlook

This should be pretty a pretty common scenario, but I have not found a solution yet.
I would like to highlight some text within the body of an e-mail and then click on something (context menu, toolbar button, etc) to perform a URL navigation using the selected text. For example, highlight the Fex Ex tracking number and then navigate to their web site using it as a query parameter (like "ww.fedextracking.com?packageid=12345").
How can you capture the selected text within an e-mail and then perform an action? I would greatly appreciate any suggestions or examples.
Thank you!
For Outlook 2007-2010 (or previous versions using WordMail), you can retrieve a Word object from the Inspector.WordEditor property. Then you can work with Word.Selection to access the selected text.
However, for Plain Text or Rich Text scenarios with Outlook 2000-2003, you have to use the SafeInspector object with Redemption (http://www.dimastr.com/redemption/) to access the selected text. I can't remember, but for HTML format messages with Outlook 2003-2003 you may be able to access the selected text with the IHTMLDocument object retrieved from SafeInspector.
I appreciate it's 588 days since you asked your question Loki70, but if somebody else Googles up this page (like I did, looking for how to create a selected text right-click context menu entry) then this may be an answer for you.
I have been using AutoHotKey, which works not just in Outlook, but everywhere in Windows, and have been writing utilities to Google the selected text, open an SSH session in PuTTY to the selected hostname, and similar.
If you don't mind running an extra application on your PC to capture the hotkey combination that you send, then this would do exactly what you're asking.
Here is my post on the AutoHotKey forum with a link to my code:
http://www.autohotkey.com/community/viewtopic.php?t=86402
It would be trivial to adapt this to do the FedEx query you've mentioned.
I hope this helps.