|
by: ksskumar |
last post by:
Hi Friends,
I am creating a application using C#. In that application I am using
RichTextBox (System.Windows.Forms.RichTextBox).
My query is how to create a file link in Rich text box. Means, I want
to embed file in Richtextbox. If the user click / doubleclick /
Ctrl+click the link, that file should open. It is like hyperlink in
HTML.
|
by: SamSpade |
last post by:
Just to get started I coded DragDrop to catch DataFormats.FileDrop and get
the data which turns out to be the absolute address of the file dragged from
Explorer.
What I want to do is paste the name into a RichTextBox so that it is a link.
( At least I think that is the correct terminology.) I want to be able to
click the name in the RichTextBox and have the associated application open.
|
by: goodmannewz |
last post by:
How can I display a web-style link without explicit wirting the URL? It does
work when I wrote a URL for example:www.microsoft.com in the richtextbox.
However, I want to show is a URL link microsoft which links to
www.microsoft.com. Is there any method I can call?
|
by: Al |
last post by:
Hi All
I need to include Link text in my RichTextBox field. Very similar to LinkLabel but in richtextbox. If anyone can provide me with hint or solution I would really appreciated it. If not possible what is my alternative
Thanks so much in advance
A
|
by: SamSpade |
last post by:
Just to get started I coded DragDrop to catch DataFormats.FileDrop and get
the data which turns out to be the absolute address of the file dragged from
Explorer.
What I want to do is paste the name into a RichTextBox so that it is a link.
( At least I think that is the correct terminology.) I want to be able to
click the name in the RichTextBox and have the associated application open.
Can someone give me a clue how to do that or...
|
|
by: Just Me |
last post by:
I noticed I could drag a filename from windowsexplorer onto a richtextbox
and drop it as a Link and the result is a link on the box that open the file
if I click it.
Is that the whole story.
Are links only for opening files into their app?
I also wonder why the effect All includes Scroll, Copy, and Move but does
not include Link?
|
by: **Developer** |
last post by:
I've seen applications that have a Paste Special and if clicked allow either
the Data to be pasted or a Link to be pasted.
I'm using the RichTextBox and I'd like to implement that feature.
Can anyone give me any help/direction?
I know how to make the PasteSpecial menu but do not know how to force the
paste to Link or Data.
|
by: Justin Creasy |
last post by:
I am having a problem with creating file links in a RichTextBox. The
problem occurs when there is a space in the name of a folder in the
path. So if I have
string path = "C:\\My Documents";
string fileName = "someFile.txt";
string link = "file://" + path + "\\" + fileName;
The link will appear, but only up to "My" and not extending to
|
by: James Wong |
last post by:
Hi,
I use the RichTextBox in my program.
It will use different language in this RichTextBox (chinese and english
characters), and it set the "DualFont" and use different fonts.
By the way, how can I print out this content to printer easily?
Thanks!
James
|
by: tomschuring |
last post by:
hello,
is there a way i can provide a context menu for a link inside a
RichTextBox ?
i have found LinkClicked and this is everything i would need..except
that it is
a left-click, and most users would expect a right-click for a context
menu.
i was thinking perhaps a mouse_down even handler, checking for
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|