Solved

Rich Text Box... add clickable hyperlink

Posted on 2004-08-23
3
530 Views
Last Modified: 2008-03-03
Hi,

how can i add a clickable hyperlink into a rich text box?

is this possible with the standard .net rich text box?

Regards

DSE
0
Comment
Question by:DSE
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 19

Accepted Solution

by:
Desp earned 350 total points
ID: 11869872
Yes its possible with st. richtextbox... set the 'DetectUrls' Property of your richtextbox to 'true'
0
 

Author Comment

by:DSE
ID: 11871031
thx! nice and simple!
0
 
LVL 19

Expert Comment

by:Desp
ID: 11878005
yes, and thanks for the 'A' ... :)
to make that URL work you have to put this line in the 'LinkClicked' event of richTextBox
System.Diagnostics.Process.Start(e.LinkText)
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question