How do I add multiple hyperlinks in a Label control in Windows Forms in Visual Basic 2008 - vb.net

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.

Related

How can I do find and highlight text in outlook

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

Text selected / right click event (Outlook 2007 VBA)

I'm looking for an event that's raised when a user selects text in the preview pane of an email. E.g. you're viewing an email in the preview pane and select some text. I didn't see anything in the object reference to this effect, but the namespace is so large, it seems like there's always some object somewhere that does exactly what I need, which I'm not aware of.
Overall, what I'd like to do is see if the selected text matches a pattern and if so, insert a sub-menu in the right click menu (the one that says Copy, Who Is, Synonyms, Translate..). Help with this would be appreciated too. I believe the CommandBar is "text", but I'm unsure how to go about accessing this via name.
The Outlook object model doesn't provide anything for that.

Data entry form in sharepoint

I was wondering if anyone knows what a simplest way to create a data entry form in Sharepoint 2010 Foundation would be. Basicly I am looking to create a form that will submit its data to a custom list on the site, I don't want the users to interact with the list directly but use the form to enter data instead.
Also I can't use Designer or InfoPath, not being able to use these is what is causing the problem it seems. Just curious if anyone else has done something like this or could point me in the right direction.
Thanks
Every list is born with forms by default - one for item creation, one for edition and one for displaying. If you use content types, then you get a trio of these for each different type.
You never interact with the list directly, you do it through these forms. If you can't use either Infopath nor Sharepoint Designer, you can still edit them by clicking on the Page tab, then the Edit Page button. From there you can add or remove web parts, and connect them among themselves.
However, the amount of control you have is too limited when compared to editing pages through either of the tools or mentioned, or Visual Studio. For example, there is no straightforward way to add or remove list fields based on content type. Be prepared for ever increasing frustration if you can't use those tools.

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.

Creating a web chat facility in visual studio 2008 using Visual Basic

I am creating a web chat facility in visual studio 2008 using Visual Basic,I want to be able to highlight certain keywords that are sent and received to each user, can someone please tell me how I can do this? Thanks in advance
If you're creating an Asp.net app. with VB.Net then here's something you can do:
1. On your page you may have a textbox (where the user types the text for chat) and there may be a "Send" button that postbacks the page.
2. On click of "Send", pick the text from the text box and search for your keyword, you may do something like this:
if(txtChat.Text.Contains(keyword_string)) {
//Highlight the text ---
}
else
{
//Send logic
}
You can put the if/else in a loop if you wish to scan multiple values from the db.
As for selecting the text, it's a tricky part and I myself haven't found a simple way to select partial text in an Asp.net textbox. Here's are a couple of links discussing alternate ways to perform this:
http://forums.asp.net/t/1520680.aspx
http://bytes.com/topic/javascript/answers/167174-highlighting-part-text-text-box
If it's possible you can show the words separately in a label beneath the textbox.